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 PG11 PostgreSQL11 label Feb 10, 2024
@jrgemignani jrgemignani merged commit 614b0ce into apache:PG11 Feb 12, 2024
@MuhammadTahaNaveed MuhammadTahaNaveed deleted the PG11_issue_1461 branch February 13, 2024 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PG11 PostgreSQL11

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants