Cypher Language

FalkorDB supports the OpenCypher query language with proprietary extensions. Cypher is a declarative graph query language that allows you to express what data to retrieve from a graph using pattern matching, filtering, and projections.

This section provides a complete reference for all supported Cypher clauses, functions, procedures, and indexing capabilities.

See also: Data Types — Reference for all node, relationship, scalar, temporal, and collection types used in Cypher queries.

Comments

FalkorDB Cypher supports two comment styles that can be placed anywhere whitespace is allowed:

Style Syntax Description
Single-line // comment text Everything from // to the end of the line is ignored
Multi-line /* comment text */ Everything between /* and */ is ignored (may span multiple lines)

Multiple consecutive comments are fully supported, as are comments embedded mid-query:

// Find all people named Alice
MATCH (a:Person {name: 'Alice'})
/* Return their
   friends */
RETURN a

Clauses

A Cypher query consists of one or more clauses.

Functions

See the list of available functions.

Procedures

See the list of available procedures.

Algorithms

See the list of available graph algorithms.

Indexing

See how to use indexing.


Table of contents