You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I think the only way to delete based on a condition (not including primary keys) is retrieve the model objects matching the condition, then delete them. It would be nice to have a delete_where() method with the same signature as where(), but that deleted matching rows.
The text was updated successfully, but these errors were encountered:
Currently, I think the only way to delete based on a condition (not including primary keys) is retrieve the model objects matching the condition, then delete them. It would be nice to have a
delete_where()
method with the same signature aswhere()
, but that deleted matching rows.The text was updated successfully, but these errors were encountered: