1
0

Mark make_in_list_sql_clause as returning a list

This commit is contained in:
Erik Johnston
2020-02-19 15:13:51 +00:00
parent 7cadb476a0
commit cb8fdfdf1c

View File

@@ -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