summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-12-10 15:13:17 +0200
committerLV-426 <lv-426@taproot.org.il>2014-12-10 15:13:17 +0200
commitb6cd93638ee183fb120778ec55fca9f15aa9804b (patch)
tree53f2acec4bb9e1c8a2809d971b4d49899e3d0c99
parent1391f30e366df1c14487f5c21f037258a1e219bd (diff)
DBO_rm_node_set: return id_set
-rw-r--r--src-py/db_controller.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src-py/db_controller.py b/src-py/db_controller.py
index 00043d04..c5798aa5 100644
--- a/src-py/db_controller.py
+++ b/src-py/db_controller.py
@@ -344,7 +344,8 @@ class DBO_rm_node_set(DB_op):
else:
q_arr = ['match (n)',
'where n.id in {id_set}',
- 'delete n'
+ 'delete n',
+ 'return {id_set}'
]
q = ' '.join(q_arr) # TODO: use id param upon neo4j support: q_params = {'id_set': id_set}