Consider this (using apsw here):
s = ["A", "B", "C"]
c.execute("SELECT foo.y FROM foo WHERE foo.x in (?)", (s, ))
This doesn't work, because a binding parameter cannot be a list. I want to bind a list of strings to ?
. I know how to build the appropriate query-string manually, but I wonder if there is a way to do this with bindings.