Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- conn.execute('select * from sellers where salesid in (:sales_id)', sales_id=[1, 2, 3] ).fetchall()
- stmt = text('select * from sellers where salesid in :sales_id')
- stmt = stmt.bindparams(bindparam('sales_id', expanding=True))
- conn.execute(stmt, sales_id=[1, 2, 3]).fetchall()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement