python sql alchemy delete row code example Example: SQLalchemy delete by id User.query.filter(User.id == 123).delete()