Skip to content

Conversation

@MuhammadTahaNaveed
Copy link
Member

  • The '=' operator checks if the original property value(as a whole) is equal to the given value.

    e.g MATCH (n {school:{addr:{city:'Toronto'}}}) tranforms into

    either(in case age.enable_containment is off)
    `properties.school.addr.city = 'Toronto'`
    
    or(in case age.enable_containment is on)
    `properties @> {school:{addr:{city:'Toronto'}}}`
    
    But MATCH (n ={school:{addr:{city:'Toronto'}}}) will tranform into
    
    either(in case age.enable_containment is off)
    `properties.school = {addr:{city:'Toronto'}}`
    
    or(in case age.enable_containment is on)
    `properties @>> {school:{addr:{city:'Toronto'}}}`
    
  • Added @>> and <<@ operators. Unlike @> and <@, these operators does not recurse into sub-objects.

  • Added regression tests.

- The '=' operator checks if the original property value(as a whole) is
  equal to the given value.

  e.g MATCH (n {school:{addr:{city:'Toronto'}}}) tranforms into

      either(in case age.enable_containment is off)
      `properties.school.addr.city = 'Toronto'`

      or(in case age.enable_containment is on)
      `properties @> {school:{addr:{city:'Toronto'}}}`

      But MATCH (n ={school:{addr:{city:'Toronto'}}}) will tranform into

      either(in case age.enable_containment is off)
      `properties.school = {addr:{city:'Toronto'}}`

      or(in case age.enable_containment is on)
      `properties @>> {school:{addr:{city:'Toronto'}}}`

- Added @>> and <<@ operators. Unlike @> and <@, these operators does
  not recurse into sub-objects.

- Added regression tests.

- Added changes in sql files to version update template file.
@github-actions github-actions bot added the PG14 PostgreSQL14 label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PG14 PostgreSQL14

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant