summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-06-01 14:50:46 +0100
committerErik Johnston <erik@matrix.org>2017-06-01 14:50:46 +0100
commit21e255a8f1948c2fd298ce2e037d20bdd25f2f69 (patch)
tree0ceb691fc5430e046327fb4ba7398474b7c1457d /synapse/storage/_base.py
parentTweak search query (diff)
downloadsynapse-21e255a8f1948c2fd298ce2e037d20bdd25f2f69.tar.xz
Split the table in two
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index 58b73af7d2..db816346f5 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -425,6 +425,11 @@ class SQLBaseStore(object):
 
         txn.execute(sql, vals)
 
+    def _simple_insert_many(self, table, values, desc):
+        return self.runInteraction(
+            desc, self._simple_insert_many_txn, table, values
+        )
+
     @staticmethod
     def _simple_insert_many_txn(txn, table, values):
         if not values: