sqlalchemy clear all objects code example Example: sqlalchemy empty table db.session.query(model_name).delete() db.session.commit()