Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.x] SQLite 3.38.0+ Supports whereJsonContains #8181

Merged
merged 1 commit into from
Sep 2, 2022

Conversation

tm1000
Copy link
Contributor

@tm1000 tm1000 commented Sep 1, 2022

See: https://www.sqlite.org/json1.html

The JSON functions and operators are built into SQLite by default, as of SQLite version 3.38.0 (2022-02-22). They can be omitted by adding the -DSQLITE_OMIT_JSON compile-time option. Prior to version 3.38.0, the JSON functions were an extension that would only be included in builds if the -DSQLITE_ENABLE_JSON1 compile-time option was included. In other words, the JSON functions went from being opt-in with SQLite version 3.37.2 and earlier to opt-out with SQLite version 3.38.0 and later.

The code for this is already supported as a result of PR laravel/framework#41802

@taylorotwell taylorotwell merged commit 3931756 into laravel:9.x Sep 2, 2022
@tm1000 tm1000 deleted the patch-1 branch September 2, 2022 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants