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


Ignore:
Timestamp:
02/23/2013 03:29:35 PM (2 years ago)
Author:
biern
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19263, comment 4

    initial v1  
    22
    33This query failed:
     4{{{#!python
    45Book.objects.filter(author__in=Author.objects.empty()[0:0])
     6}}}
    57while this succeded:
     8{{{#!python
    69Book.objects.filter(author__in=Author.objects.empty())
     10}}}
    711
    812Instead of later returning empty sql string, a QuerySet with equal indices is now immediately converted to QuerySet.none().
Back to Top