diff options
| author | LV-426 <lv-426@taproot.org.il> | 2014-10-15 20:25:00 +0200 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2014-10-15 20:25:00 +0200 |
| commit | 10af77cc4a76448041b333d8ec793751dc3022a1 (patch) | |
| tree | 9669226e2c9c9724ba308188117d401f636c7d21 /src-py/db_controller.py | |
| parent | 32905da5655424f3e76389f4f007f886f322a7a9 (diff) | |
DBO_load_node_set_by_DB_id - simplify query
Diffstat (limited to 'src-py/db_controller.py')
| -rw-r--r-- | src-py/db_controller.py | 2 |
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): |
