From 10af77cc4a76448041b333d8ec793751dc3022a1 Mon Sep 17 00:00:00 2001 From: LV-426 Date: Wed, 15 Oct 2014 20:25:00 +0200 Subject: DBO_load_node_set_by_DB_id - simplify query --- src-py/db_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-py') 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): -- cgit v1.3.1