Django

Code

Ticket #593: match_operator_doc.diff

File match_operator_doc.diff, 0.8 kB (added by Tim Keating, 3 years ago)

DB API doc updated with match operator.

  • db-api.txt

    old new  
    190190    day          For date/datetime fields, exact day match. 
    191191    isnull       True/False; does is IF NULL/IF NOT NULL lookup: 
    192192                 ``polls.get_list(expire_date__isnull=True)``. 
     193    match        Performs a case-insensitive boolean full-text search. Like  
     194                         "contains," but significantly faster thanks to full-text  
     195                         indexing. (Note: MySQL only. Requires direct manipulation of  
     196                         the database to add the full-text index at present. Django  
     197                         development version only.) 
    193198    ===========  ============================================================== 
    194199 
    195200Multiple lookups are allowed, of course, and are translated as "AND"s::