Hi I would like to know whether it is possible or not to use variables within WHERE clause in query.select() function. My query is something like this:
startday = xxx
endday = yyy
session = create_session()
query = session.query(TimeLog)
timelogs = query.select(
and_(TimeLog.c._date >= startday,
TimeLog.c._date <= endday))
Regards
Chetan
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

