-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
Taking this from examples:
MANDATORY MATCH (u:User {id: $user})
MANDATORY MATCH (c:City {name: $city})
MANDATORY MATCH (old:Product {id: $product})<-[:BOUGHT]-(u)
MATCH (store)-[:IN]->(c),
(store)-[:SELLS]->(new:Product),
(new)-[:MADE_BY]->(brand)<-[:MADE_BY]-(old)
WHERE new.availability > 0 AND new.category = old.category
RETURN store, count(DISTINCT new) AS offers
ORDER BY offers
I can't find any rules in the EBNF for MANDATORY MATCH, even though MANDATORY is a reserved word. Please advise...
Metadata
Metadata
Assignees
Labels
No labels