Questions Concepts
GitHub icon

Cypher Query Language

Cypher Query Language - Query language

< >

Cypher Query Language is a query language created in 2011.

#989on PLDB 12Years Old

Cypher is a declarative graph query language that allows for expressive and efficient querying and updating of a property graph. Cypher is a relatively simple but still very powerful language. Very complicated database queries can easily be expressed through Cypher. Read more on Wikipedia...


Example from Wikipedia:
MATCH (start:Content)-[:RELATED_CONTENT]->(content:Content) WHERE content.source = 'user' OPTIONAL MATCH (content)-[r]-() DELETE r, content
Cypher Query Language Keywords
ALL AND AS ASC ASCENDING BY CALL CASE CONTAINS CREATE DELETE DESC DESCENDING DETACH DISTINCT ELSE END ENDS EXISTS IN IS LIMIT MANDATORY MATCH MERGE NOT ON ON OPTIONAL OR ORDER REMOVE RETURN SET SKIP STARTS THEN UNION UNWIND WHEN WHERE WITH XOR YIELD

Language features

Feature Supported Token Example
Comments
// A comment
MultiLine Comments /* */
/* A comment
*/
Line Comments //
// A comment

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Traffic · Traffic Today · Day 305 · feedback@pldb.com · Logout