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


Ignore:
Timestamp:
Feb 23, 2013, 3:29:35 PM (12 years ago)
Author:
Marcin Biernat

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