UNPKG

falkordb

Version:
12 lines (11 loc) 499 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.transformArguments = transformArguments; // GRAPH.CONSTRAINT DROP key constraintType {NODE label | RELATIONSHIP reltype} PROPERTIES propCount prop [prop...] function transformArguments(key, constraintType, entityType, label, ...properties) { return [ 'GRAPH.CONSTRAINT', 'DROP', key, constraintType, entityType, label, 'PROPERTIES', properties.length.toString(), ...properties ]; }