Function nvlResultTransformer
- nvlResultTransformer(result): Promise<{
nodes: Node[];
recordObjectMap: Map<string, Node<Integer, Properties, string> | Relationship<Integer, Properties, string> | Path<Integer>>;
relationships: Relationship[];
}> Parameters
- result: Result<RecordShape>
Returns Promise<{
nodes: Node[];
recordObjectMap: Map<string, Node<Integer, Properties, string> | Relationship<Integer, Properties, string> | Path<Integer>>;
relationships: Relationship[];
}>
Result transformer for the Neo4j JavaScript driver results to NVL graph elements.
Example
See
on Neo4j JS Driver API Docs