Changes between Initial Version and Version 1 of Ticket #6422, comment 37
- Timestamp:
- Jul 13, 2011, 5:08:20 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6422, comment 37
initial v1 6 6 }}} 7 7 8 The DISTINCT ON expression requires the leftmost ORDER BY to match the fields given in the DISTINCT ON clause. To make sure the parent_id will be in ORDER BY, use parent__pk or parent__id:8 The DISTINCT ON expression requires the leftmost ORDER BY to match the fields given in the DISTINCT ON clause. To make sure the parent_id will be in ORDER BY, use ``parent__ pk`` or ``parent__ id``: 9 9 10 10 {{{