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
There needs to be an efficient way to modify all records matching a QuerySet.
I would imagine this would best be implemented as an update method on the QuerySet, that combines the QuerySet's filter_clauses with a set_clause to issue an UPDATE statement.
It would also be useful to have something like Django's bulk_update for a way to efficiently perform more targeted updates, though I have less of a concept of either how Django does it, or how I think it should be done here. I think this is lower priority than just getting update implemented in the first place.
The text was updated successfully, but these errors were encountered:
There needs to be an efficient way to modify all records matching a QuerySet.
I would imagine this would best be implemented as an
update
method on the QuerySet, that combines the QuerySet'sfilter_clauses
with aset_clause
to issue anUPDATE
statement.It would also be useful to have something like Django's bulk_update for a way to efficiently perform more targeted updates, though I have less of a concept of either how Django does it, or how I think it should be done here. I think this is lower priority than just getting
update
implemented in the first place.The text was updated successfully, but these errors were encountered: