I have a table that has millions of rows. I want to delete multiple rows via an in clause. However, using the code:
session.query(Users).filter(Users.id.in_(sub
To complete dizzy's answer:
delete_q = Report.__table__.delete().where(Report.data == 'test') db.session.execute(delete_q) db.session.commit()