diff options
Diffstat (limited to 'client/src/leap/soledad/client/api.py')
-rw-r--r-- | client/src/leap/soledad/client/api.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py index 63b1dfc0..df69037c 100644 --- a/client/src/leap/soledad/client/api.py +++ b/client/src/leap/soledad/client/api.py @@ -825,10 +825,16 @@ class Soledad(object): def raw_sqlcipher_query(self, *args, **kw): """ - Run a raw sqlcipher query in the local database. + Run a raw sqlcipher query in the local database, and return the result. """ return self._dbpool.runQuery(*args, **kw) + def raw_sqlcipher_operation(self, *args, **kw): + """ + Run a raw sqlcipher operation in the local database, and return None. + """ + return self._dbpool.runOperation(*args, **kw) + def _convert_to_unicode(content): """ |