Changes between Initial Version and Version 1 of Ticket #16731, comment 8


Ignore:
Timestamp:
12/19/13 17:09:23 (9 years ago)
Author:
Matthias Meulien
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16731, comment 8

    initial v1  
    55myTable.filter(field1__startswith=F('field2'))
    66}}}
    7 with
     7with:
    88{{{
    9 qs.extra(where=["""UPPER("my_table"."field1"::text) LIKE UPPER("my_table"."field2"||'%%')"""])
     9myTable.extra(where=["""UPPER("my_table"."field1"::text) LIKE UPPER("my_table"."field2"||'%%')"""])
    1010}}}
Back to Top