Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 731 Bytes

finish.adoc

File metadata and controls

35 lines (28 loc) · 731 Bytes

FINISH

A query ending in FINISH — instead of RETURN — has no result but executes all its side effects. FINISH was introduced as part of Cypher’s appendix/gql-conformance/index.adoc.

The following read query successfully executes but has no results:

Query
MATCH (p:Person)
FINISH

The following query has no result but creates one node with the label Person:

Query
CREATE (p:Person)
FINISH

It is equivalent to the following query:

Query
CREATE (p:Person)