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: add :or operator for compound field filter with = instead of like #518

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

stanleygtrillion
Copy link

ref: #517

adding :or operator for compound field filter with = instead of like

e.g.

compound_fields: [
  new_uuid: [
    :uuid1,
    :uuid2,
  ]
],

this way we can filter new_uuid with or operator
which will generate
uuid1 = $1 OR uuid2 = $2

this is needed because uuid field type will fail when using like operator
e.g. select * from my_table where id like '<uuid value>';

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.

1 participant