I'm trying to do this query in SQLAlchemy:
I would like to bind the list [123,456] at execution time.
How about session.query(MyUserClass).filter(MyUserClass.id.in_((123,456))).all() ?
SELECT id, name FROM user WHERE id in (123,456)
Source From Here Question Datetime objects hurt my head for some reason. I am writing to figure out how to shift a date time obje...