Skip to content

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