MuhammadTahaNaveed commented on issue #1461:
URL: https://github.com/apache/age/issues/1461#issuecomment-1898973335

   
   > Contains as default, equals when specified -
   > 
   > ```
   >         MATCH (x:Customer {school: {name: 'XYZ College'}}) return x
   >         MATCH (x:Customer ={school: {name: 'XYZ College'}}) return x
   > ```
   
   Sounds good to me. Just to clarify though, this should be for both lists and 
maps occurring as property values or just maps?
   Because if we take the example below in case of list as property value
   ```
   CREATE (x:Customer {
       addr: [
           {city: 'Vancouver', street: 30},
           {city: 'Toronto', street: 40}
       ]
   }
   ```
   Now the below query returning the row(by default) makes sense to me, keeping 
in mind
   >when doing a SELECT or MATCH you are asking for all occurrences and then, 
by using qualifiers, you are narrowing the results down.
   ```
   MATCH (x:Customer addr:[{city: 'Vancouver'}]) RETURN x
   ```
   
   What do you think.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@age.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to