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

feat: new array find operators #8766

Merged
merged 2 commits into from Mar 21, 2022
Merged

feat: new array find operators #8766

merged 2 commits into from Mar 21, 2022

Conversation

pleerock
Copy link
Member

@pleerock pleerock commented Mar 21, 2022

Added new find operators:

  • ArrayContains
  • ArrayContainedBy
  • ArrayOverlap

BREAKING CHANGES:

  • we do not call JSON.stringify() to json/jsonb column types in Postgres. Instead, we delegate value directly to underlying pg driver. This is a correct way of handling jsons.
  • array: true must be explicitly defined for array json/jsonb values
  • strings being JSON-stringified must be manually escaped

I should have included it in 0.3.0, but missed it. So, breaking change comes in 0.3.1 now.

…red directly to underlying driver (breaking)
…trings being JSON-stringified must be manually escpaed
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.

None yet

1 participant