From adab60d0f8b51918a53380df4e5944c75b67f999 Mon Sep 17 00:00:00 2001 From: bricaud Date: Wed, 25 Sep 2019 19:25:45 +0200 Subject: [PATCH] add missing dot in gremlin query --- scripts/graphioGremlin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/graphioGremlin.js b/scripts/graphioGremlin.js index db6cd45..25f993c 100644 --- a/scripts/graphioGremlin.js +++ b/scripts/graphioGremlin.js @@ -181,9 +181,9 @@ var graphioGremlin = (function(){ if (communication_method == "GraphSON3_4") { // Version 3.4 gremlin_query_nodes += ".valueMap().with(WithOptions.tokens)"; - gremlin_query_nodes += 'fold().inject(' + traversal_source + '.V(' + id + ').valueMap().with(WithOptions.tokens)).unfold()'; + gremlin_query_nodes += '.fold().inject(' + traversal_source + '.V(' + id + ').valueMap().with(WithOptions.tokens)).unfold()'; } else { - gremlin_query_nodes += 'fold().inject(' + traversal_source + '.V(' + id + ')).unfold()'; + gremlin_query_nodes += '.fold().inject(' + traversal_source + '.V(' + id + ')).unfold()'; } //var gremlin_query_nodes = 'nodes = ' + traversal_source + '.V('+id+').as("node").both('+(edge_filter?'"'+edge_filter+'"':'')+').as("node").select(all,"node").unfold().valueMap()' //gremlin_query_nodes += 'fold().inject(' + traversal_source + '.V('+id+').valueMap()).unfold()'