Skip to content

Commit

Permalink
add missing dot in gremlin query
Browse files Browse the repository at this point in the history
  • Loading branch information
bricaud committed Sep 25, 2019
1 parent 49e63b3 commit adab60d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/graphioGremlin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()'
Expand Down

0 comments on commit adab60d

Please sign in to comment.