Django

Code

Changeset 2752

Show
Ignore:
Timestamp:
04/27/06 17:10:08 (2 years ago)
Author:
adrian
Message:

magic-removal: Small improvement to docs/db-api.txt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/magic-removal/docs/db-api.txt

    r2750 r2752  
    10361036~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    10371037 
    1038 The field lookups that equate to ``LIKE`` SQL statements will automatically 
    1039 escape the two special characters used in ``LIKE`` statements -- the percent 
    1040 sign and the underscore. (In a ``LIKE`` statement, the percent sign signifies 
    1041 a multiple-character wildcard and the underscore signifies a single-character 
    1042 wildcard.) 
     1038The field lookups that equate to ``LIKE`` SQL statements (``iexact``, 
     1039``contains``, ``icontains``, ``startswith``, ``istartswith``, ``endswith`` 
     1040and ``iendswith``) will automatically escape the two special characters used in 
     1041``LIKE`` statements -- the percent sign and the underscore. (In a ``LIKE`` 
     1042statement, the percent sign signifies a multiple-character wildcard and the 
     1043underscore signifies a single-character wildcard.) 
    10431044 
    10441045This means things should work intuitively, so the abstraction doesn't leak.