#13312: Add a way to customize the order_by() of null fields
-------------------------------------+-------------------------------------
     Reporter:  Sergey Dobrov        |                    Owner:  felixxm
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  ordering, order_by,  |             Triage Stage:  Ready for
  null                               |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"7286eaf681d497167cd7dc8b70ceebfcf5cd21ad" 7286eaf]:
 {{{
 #!CommitTicketReference repository=""
 revision="7286eaf681d497167cd7dc8b70ceebfcf5cd21ad"
 Refs #13312 -- Simplified handling of nulls ordering on MySQL.

 MySQL & MariaDB support the standard IS NULL and IS NOT NULL so
 the same workaround used for NULLS FIRST and NULLS LAST that is
 used for SQLite < 3.30.0 can be used.

 Thanks Simon Charette for the discussion.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/13312#comment:27>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.7e09ef274f50606bb6fb232bef0108b0%40djangoproject.com.

Reply via email to