In order to achieve a single parameter affecting a group of items, the
statement would have to be modified at the string level before being passed
to the database. The single parameter would need to be expanded into the
appropriate number of question marks, and the list of parameters would need
I mention the issue here:
https://bitbucket.org/zzzeek/sqlalchemy/issues/3843/in_-operator-does-not-supports-bound.
Using column.in_(bindparam('name')) (to place a variable list of values)
throws exception
Unfortunately for me func.any doesn't solve it because I'm using SQLite
which does