UNPKG

sedk-neo4j

Version:

Cypher builder and validator for Neo4j

16 lines 465 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseStep = void 0; class BaseStep { constructor(prevStep) { this.prevStep = prevStep; } getCypher() { if (this.prevStep === null || this.prevStep.toString() === '') { return this.toString(); } return `${this.prevStep.getCypher()} ${this.toString()}`; } } exports.BaseStep = BaseStep; //# sourceMappingURL=BaseStep.js.map