Skip to content

Add support for PostgreSQL array overlap operator (`&&`)

Choose a tag to compare

@LCluber LCluber released this 31 May 14:10
· 23 commits to main since this release
  • Add support for PostgreSQL array overlap operator (&&) on array-typed properties:
    • "in" matchMode is automatically converted to "&&" in cleanFilters() when the property type is "array"
    • mapIndexes() now wraps indexes in ARRAY[...] for the "&&" matchMode, generating column && ARRAY[$1,$2]
    • mapComparator() now returns "&&" for the "&&" matchMode
    • "&&" added to Comparator type and COMPARATORS set
    • "array" added to MappedType; map.type() now maps entity type "array" to "array"
    • check.matchMode() now validates "&&" as the only allowed matchMode for array-typed properties