From d40b95043dfe71e219fe4e54934098c49b1f658f Mon Sep 17 00:00:00 2001 From: Andrew Nagy Date: Thu, 1 Sep 2022 15:19:25 -0700 Subject: [PATCH] [9.x] SQLite 3.38.0+ Supports whereJsonContains --- queries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries.md b/queries.md index 51da3fffd21..8e9e7917824 100644 --- a/queries.md +++ b/queries.md @@ -491,7 +491,7 @@ Laravel also supports querying JSON column types on databases that provide suppo ->where('preferences->dining->meal', 'salad') ->get(); -You may use `whereJsonContains` to query JSON arrays. This feature is not supported by the SQLite database: +You may use `whereJsonContains` to query JSON arrays. This feature is not supported by SQLite database versions less than 3.38.0: $users = DB::table('users') ->whereJsonContains('options->languages', 'en')