Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 400 Bytes

soft-socks-count.md

File metadata and controls

22 lines (18 loc) · 400 Bytes
@neo4j/graphql
patch

Add addVersionPrefix to cypherQueryOptions in context to add a Cypher version with CYPHER before each query:

{
    cypherQueryOptions: {
        addVersionPrefix: true,
    },
}

This prepends all Cypher queries with a CYPHER [version] statement:

CYPHER 5
MATCH (this:Movie)
WHERE this.title = $param0
RETURN this { .title } AS this