Hello,
I am trying to bind a list for an in() operator in a pure SQL query :
import sqlalchemy
engine = create_engine('mysql://localhost/database')
connection = engine.connect()
connection.execute(engine.text(select * from user where email in
(:emails)), emails=['ta...@ziade.org'])
This
Tarek Ziadé wrote:
Hello,
I am trying to bind a list for an in() operator in a pure SQL query :
import sqlalchemy
engine = create_engine('mysql://localhost/database')
connection = engine.connect()
connection.execute(engine.text(select * from user where email in
(:emails)),