Introduction
Install
Install cypher-fluent-js library
# Using NPM:npm install @thecodenebula/cypher-fluent-js --save# Using Yarn:yarn add @thecodenebula/cypher-fluent-js
Example usage
gatsby-config.js
import neo4j from 'neo4j-driver';import { match, node } from '@thecodenebula/cypher-fluent-js';const driver = neo4j.driver(uri, neo4j.auth.basic('user', 'password'));const session = driver.session()const query = match(node('actor', 'Actor')).return('actor', 'person').skip(10).limit(100).orderBy('actor.name asc');const result = driver.run(query.build());