Changes between Version 1 and Version 2 of Ticket #36213, comment 7


Ignore:
Timestamp:
Feb 26, 2025, 5:24:21 PM (35 hours ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36213, comment 7

    v1 v2  
    1 In stand corrected, `QuerySet.delete` on MySQL [https://github.com/django/django/blob/5a1cae3a5675c5733daf5949759476d65aa0e636/django/db/models/sql/compiler.py#L2015-L2019 also performs] a materialization [https://github.com/django/django/commit/f6405c0b8ef7aff513b105c1da68407a881a3671 but at the database level].
     1In stand corrected, `QuerySet.delete` on MySQL [https://github.com/django/django/blob/5a1cae3a5675c5733daf5949759476d65aa0e636/django/db/models/sql/compiler.py#L2015-L2019 also performs] a materialization [https://github.com/django/django/commit/f6405c0b8ef7aff513b105c1da68407a881a3671 but at the database level] (it doesn't fetch all the ids on the Python side).
    22
    33I wonder if the same strategy could be used for the `UPDATE`.
Back to Top