Changes between Initial Version and Version 1 of Ticket #24218, comment 3


Ignore:
Timestamp:
Jan 27, 2015, 7:04:42 AM (10 years ago)
Author:
Ramiro Morales

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24218, comment 3

    initial v1  
    1 Per the Postgres documentation snipped, shouldn't the `ORDER BY` actually be applied to the sub-query to ensure a predictable result?
     1Per the Postgres documentation snippet, shouldn't the `ORDER BY` actually be applied to the sub-query to ensure a predictable result?
    22
    3 Also, make sure to test behavior with both bare `distinct()` calls and calls where joins are involved (e.g. `Model.dictinct('fkfield__related_model_field')`)
     3Also, make sure to test behavior with both bare `distinct()` calls and calls where joins are involved (e.g. `Model.distinct('fkfield__related_model_field')`)
Back to Top