Query(State).filter(State.c.abbr.in_(stateList)).all()
SQLError: (TypeError) 字符串格式化期间并非所有参数都转换 u'SELECT states.abbr AS states_abbr \nFROM states \nWHERE states.abbr = %s ORDER BY states.abbr' [['AL', 'AZ', 'WY' , 'AB', 'BC', 'MB', 'NB']]
我认为 in_ 应该转换为 WHERE ... IN 子句...?
我哪里错了?