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

Support string json in json values #4988

Merged
merged 1 commit into from Jan 31, 2022

Conversation

OlivierCavadenti
Copy link
Collaborator

  • Json values for Json functions now support Json in string format (not only json object).
  • await knex('table_name').whereJsonSupersetOf('path', "hello") is always not supported (regarding @> Postgres documentation, this notation doesn't make sense, whereJsonSupersetOf checks two valid json objects).
  • Closes whereJsonSupersetOf does not take String as second argument #4979

@kibertoad kibertoad merged commit 2986f8c into knex:master Jan 31, 2022
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.

whereJsonSupersetOf does not take String as second argument
2 participants