Skip to content

Commit 3931756

Browse files
authored
[9.x] SQLite 3.38.0+ Supports whereJsonContains (laravel#8181)
1 parent 3390383 commit 3931756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queries.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ Laravel also supports querying JSON column types on databases that provide suppo
491491
->where('preferences->dining->meal', 'salad')
492492
->get();
493493

494-
You may use `whereJsonContains` to query JSON arrays. This feature is not supported by the SQLite database:
494+
You may use `whereJsonContains` to query JSON arrays. This feature is not supported by SQLite database versions less than 3.38.0:
495495

496496
$users = DB::table('users')
497497
->whereJsonContains('options->languages', 'en')

0 commit comments

Comments
 (0)