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


Ignore:
Timestamp:
09/27/14 12:24:20 (8 years ago)
Author:
Thomas Chaumeny
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16731, comment 11

    initial v1  
    33* Postgres is the only backend defining the corresponding `pattern_ops` https://github.com/django/django/blob/master/django/db/backends/postgresql_psycopg2/base.py#L88 — used to concatenate the wildcard character when using an `F()` expression — and this definition does not escape the database content meaning that % stored in database will be interpreted as wildcard characters.
    44
    5 In https://github.com/django/django/pull/3284, `PatternLookup` is inherited for all "LIKE" lookups and the appropriate `pattern_ops` are provided for Postgresql, MySQL and SQLite — I don't have an Oracle database to test and there seems to be too much specific code...
     5In https://github.com/django/django/pull/3284, `PatternLookup` is inherited by all "LIKE" lookups and the appropriate `pattern_ops` are provided for Postgresql, MySQL and SQLite — I don't have an Oracle database to test and there seems to be too much specific code...
Back to Top