Scalar List Functions
2.1 · Lesson

Scalar List Functions

Full definition for Cypher (opens in a new tab)Neo4j's implementation of GQL, the ISO standard query language for graph databases. It is declarative: you describe the pattern to find, and the database decides how to find it. has a number of scalar functions that operate on a list to return a single value. The single value could be a string, number, or even another list.

The most-used scalar function on a list is one that you have already seen, size() that returns the number of elements in a list. If many cases, it is used to limit the number of results returned.