This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// We take a dependency on the neo4j-driver module for the connection to the database | |
const neo4j = require('neo4j-driver').v1; | |
// And we'll need a driver to connect to the database. We'll disable 'lossless integers' | |
// because sodding about with the Neo4j integer type to do node lookups is a pain, and | |
// our graph doesn't have anywhere near enough nodes to worry about blowing through 53 | |
// bits of integer precision | |
const driver = neo4j.driver | |
( | |
'bolt://localhost:7687', // Default setup for Neo4j Desktop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+---+ | |
| n | | |
+---+ | |
+---+ | |
+----------------------------------------------------------------------+| Plan | Statement | Version | Planner | Runtime | Time |+----------------------------------------------------------------------+| "EXPLAIN" | "READ_ONLY" | "CYPHER 3.5" | "COST" | "COMPILED" | 1 |+----------------------------------------------------------------------+ | |
+------------------+----------------+-------------+-------+ | |
| Operator | Estimated Rows | Identifiers | Other | | |
+------------------+----------------+-------------+-------+ |
OlderNewer