Changes between Initial Version and Version 1 of Ticket #35830, comment 4


Ignore:
Timestamp:
Oct 12, 2024, 9:40:48 AM (5 weeks ago)
Author:
Paul Landon Tuckett

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35830, comment 4

    initial v1  
    1 I totally understand that column references can be ambiguous, but we convert these Django queries into SQL and inject them into raw sql, so it's a major overhaul for us to have to convert all the Django queries to raw sql because of this change. We do use `values` and/or `values_list`, but it still doesn't preserve the column names. Even with an `order_by` and `values` combination, same result. If there is another way we can force the Django ORM to preserver these column names, please advise.
     1I totally understand that column references can be ambiguous, but we convert these Django queries into SQL and inject them into raw sql, so it's a major overhaul for us to have to convert all the Django queries to raw sql because of this change. We do use `values` and/or `values_list`, but it still doesn't preserve the column names. Even with an `order_by` and `values` combination, same result. If there is another way we can force the Django ORM to preserve these column names, please advise.
Back to Top