mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 15:44:50 -04:00
Fix SQLite take 2
This commit is contained in:
parent
afb6d9d53b
commit
b54b1e759a
1 changed files with 1 additions and 1 deletions
|
@ -1718,4 +1718,4 @@ def make_in_list_sql_clause(
|
||||||
# stats easier to understand.
|
# stats easier to understand.
|
||||||
return "%s = ANY(?)" % (column,), [list(iterable)]
|
return "%s = ANY(?)" % (column,), [list(iterable)]
|
||||||
else:
|
else:
|
||||||
return "%s IN (%s)" % (column, ",".join("?" for _ in iterable)), iterable
|
return "%s IN (%s)" % (column, ",".join("?" for _ in iterable)), list(iterable)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue