Changes between Initial Version and Version 1 of Ticket #25947, comment 7


Ignore:
Timestamp:
Apr 1, 2024, 10:42:20 PM (5 weeks ago)
Author:
jayvynl

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25947, comment 7

    initial v1  
    1 I think it's reasonable to use `QuerySet.db()` to replace `DEFAULT_DB_ALIAS` in `sql_with_db` method. To achieve this, `QuerySet` should pass itself to `Query`, this only need just a few lines change.
     1I think it's reasonable to use `QuerySet.db` to replace `DEFAULT_DB_ALIAS` in `sql_with_db` method. To achieve this, `QuerySet` should pass itself to `Query`, this only need just a few lines change.
Back to Top