summaryrefslogtreecommitdiff
path: root/docs/db-api.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-09-15 21:57:25 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-09-15 21:57:25 +0000
commitca33d307dee3cf68cc9cd2ccfae00c7ff23ea890 (patch)
treee0f0afa392f4ab50de4a89e2a0b1b4cc53f40794 /docs/db-api.txt
parent7325fbf4ff20f9b0f21d3a1aba1abaca78a765d7 (diff)
queryset-refactor: Merged to [6300]
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/db-api.txt')
-rw-r--r--docs/db-api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/db-api.txt b/docs/db-api.txt
index 2a1f428ae7..cc235b79ed 100644
--- a/docs/db-api.txt
+++ b/docs/db-api.txt
@@ -511,6 +511,9 @@ like so::
Entry.objects.order_by('?')
+Note: ``order_by('?')`` queries may be expensive and slow, depending on the
+database backend you're using.
+
To order by a field in a different table, add the other table's name and a dot,
like so::