mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-22 07:35:00 -05:00
Fix SQLite take 2
This commit is contained in:
parent
afb6d9d53b
commit
b54b1e759a
@ -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…
Reference in New Issue
Block a user