Django

Code

Changeset 6293

Show
Ignore:
Timestamp:
09/15/07 12:30:23 (1 year ago)
Author:
adrian
Message:

Fixed #5267 -- Documented that order_by('?') queries can be slow

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/db-api.txt

    r6163 r6293  
    511511 
    512512    Entry.objects.order_by('?') 
     513 
     514Note: ``order_by('?')`` queries may be expensive and slow, depending on the 
     515database backend you're using. 
    513516 
    514517To order by a field in a different table, add the other table's name and a dot,