alexgraul commented on issue #1714:
URL: https://github.com/apache/age/issues/1714#issuecomment-2335011573
Hey @jrgemignani thankyou for chiming in, aware of the multi-label PR but
this is a separate issue with querying, effectively being able to OR between
labels in a query which is relevant for single labels, not ANDing for
situations where you want to match on multiple labels on a query which I
believe in openCypher terms is expressed as `[:Foo:Bar]`.
So if you have the following in your db
```
(:City)-[:AirRoute]-(:City)
(:City)-[:SeaRoute]-(:City)
```
Being able to run a query and say 'Give me any Air OR Sea route between
these two cities', which should be possible (in openCypher terms) via
```
(:City { name: 'London' })-[:SeaRoute|AirRoute]-(:City { name: :'Rotterdam'
})
```
You can do it today via a WHERE clause as shown above but the syntax is
super clunky.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]