nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4836b67
)
neo4j: fix cypher syntax for `Neo4jClient::nodes_with_labels`
author
Jean Privat
<jean@pryen.org>
Wed, 28 Jun 2017 13:39:39 +0000
(09:39 -0400)
committer
Jean Privat
<jean@pryen.org>
Wed, 28 Jun 2017 13:39:39 +0000
(09:39 -0400)
newer versions of neo4j seem more picky
Signed-off-by: Jean Privat <jean@pryen.org>
lib/neo4j/neo4j.nit
patch
|
blob
|
history
diff --git
a/lib/neo4j/neo4j.nit
b/lib/neo4j/neo4j.nit
index
2489f9c
..
8d3edb0
100644
(file)
--- a/
lib/neo4j/neo4j.nit
+++ b/
lib/neo4j/neo4j.nit
@@
-290,7
+290,7
@@
class Neo4jClient
# Build the query.
var buffer = new Buffer
- buffer.append "match n where \{label_0\} in labels(n)"
+ buffer.append "match (n) where \{label_0\} in labels(n)"
for i in [1..labels.length[ do
buffer.append " and \{label_{i}\} in labels(n)"
end