diff options
author | Erik Johnston <erik@matrix.org> | 2017-06-01 14:50:46 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-06-01 14:50:46 +0100 |
commit | 21e255a8f1948c2fd298ce2e037d20bdd25f2f69 (patch) | |
tree | 0ceb691fc5430e046327fb4ba7398474b7c1457d /synapse/storage/_base.py | |
parent | Tweak search query (diff) | |
download | synapse-21e255a8f1948c2fd298ce2e037d20bdd25f2f69.tar.xz |
Split the table in two
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r-- | synapse/storage/_base.py | 5 |
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: |