summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-10-15 20:25:00 +0200
committerLV-426 <lv-426@taproot.org.il>2014-10-15 20:25:00 +0200
commit10af77cc4a76448041b333d8ec793751dc3022a1 (patch)
tree9669226e2c9c9724ba308188117d401f636c7d21
parent32905da5655424f3e76389f4f007f886f322a7a9 (diff)
DBO_load_node_set_by_DB_id - simplify query
-rw-r--r--src-py/db_controller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-py/db_controller.py b/src-py/db_controller.py
index cb52cc09..8e87d9d8 100644
--- a/src-py/db_controller.py
+++ b/src-py/db_controller.py
@@ -173,7 +173,7 @@ class DBO_load_node_set_by_DB_id(DB_op):
@return: loaded node set or an empty set if no match was found
"""
super(DBO_load_node_set_by_DB_id, self).__init__()
- q = "match (n) where id(n) in {id_set} return n"
+ q = "start n=node({id_set}) return n"
self.add_statement(q, { 'id_set': id_set})
def on_completion(self, data):