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


Ignore:
Timestamp:
Dec 19, 2013, 11:09:23 AM (11 years ago)
Author:
Matthias Meulien

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