UNPKG

rusted_graphs_js

Version:

A lightweight, fast and encrypted graph database

30 lines (16 loc) 1.13 kB
/* auto-generated by NAPI-RS */ /* eslint-disable */ export declare function addEdges(collectionName: string, edges: Array<any>): number export declare function addEdgesFromFile(collectionName: string, jsonPath: string): number export declare function addNodes(collectionName: string, nodes: Array<any>): number export declare function addNodesFromFile(collectionName: string, jsonPath: string): number export declare function clearCollection(collectionName: string): void export declare function createCollection(collectionName: string): boolean export declare function deleteCollection(collectionName: string): boolean export declare function init(): void export declare function lookup(): void export declare function printVolume(): void export declare function queryNode(collectionName: string, query: string): Array<any> export declare function removeEdge(collectionName: string, fromLabel: string, toLabel: string): number export declare function removeNodes(collectionName: string, labels: Array<string>): number export declare function updateNode(collectionName: string, label: string, node: any): boolean