Class: OGMNeoCypher

OGMNeoCypher()

new OGMNeoCypher()

Source:

Methods

(static) transactionalRead(statements) → {Promise.<(object|Error)>}

Executes one or more cypher read statements in a transaction.
Parameters:
Name Type Description
statements string | array The cypher read statements to be executed.
Source:
Returns:
- Execute cypher query and return a result if successfully completes or a neo4j error.
Type
Promise.<(object|Error)>

(static) transactionalWrite(statements) → {Promise.<(object|Error)>}

Executes one or more cypher write statements in a transaction.
Parameters:
Name Type Description
statements string | array The cypher write statements to be executed.
Source:
Returns:
- Execute cypher query and return a result if successfully completes or a neo4j error.
Type
Promise.<(object|Error)>