Changes between Initial Version and Version 1 of Ticket #23605, comment 7


Ignore:
Timestamp:
Oct 7, 2014, 7:27:11 AM (10 years ago)
Author:
ris

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23605, comment 7

    initial v1  
    33{{{
    44<akaariai_> it is a bit hard to see if I am fixing the query to work as in PostgreSQL can parse the query, or actually produce correct results
    5 <ris> akaariai_: well, the inner double-NOT'ed subquery is to test for a ModelA object _all of whose_ ModelB objects conform to certain criteria
     5<ris> akaariai_: well, the inner double-NOT'ed subquery is to test for a ModelA objects _all of whose_ ModelB objects conform to certain criteria
    66<ris> those criteria being
    77<ris> Q ( modelb__field_b0__gte = 1000000 / F ( "modelb__modelc_fk__field_c0" ) ) & Q ( modelb__field_b1__exact = True )
Back to Top