mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:26:09 -04:00
Minor perf fixes to get_auth_chain_ids
.
This commit is contained in:
parent
fc87d2ffb3
commit
7b7c3cedf2
3 changed files with 6 additions and 7 deletions
|
@ -1504,7 +1504,7 @@ class Database(object):
|
|||
|
||||
def make_in_list_sql_clause(
|
||||
database_engine, column: str, iterable: Iterable
|
||||
) -> Tuple[str, Iterable]:
|
||||
) -> Tuple[str, list]:
|
||||
"""Returns an SQL clause that checks the given column is in the iterable.
|
||||
|
||||
On SQLite this expands to `column IN (?, ?, ...)`, whereas on Postgres
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue