delete users model in flask code example Example: SQLalchemy delete by id User.query.filter(User.id == 123).delete()