summaryrefslogtreecommitdiff
path: root/docs/db-api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/db-api.txt')
-rw-r--r--docs/db-api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/db-api.txt b/docs/db-api.txt
index 548af52a71..91ce2e8ac2 100644
--- a/docs/db-api.txt
+++ b/docs/db-api.txt
@@ -67,6 +67,8 @@ The DB API supports the following lookup types:
lt Less than.
lte Less than or equal to.
ne Not equal to.
+ in In a given list: ``polls.get_list(id__in=[1, 3, 4])`` returns
+ a list of polls whose IDs are either 1, 3 or 4.
startswith Case-sensitive starts-with:
``polls.get_list(question_startswith="Would")``. (PostgreSQL
only. MySQL doesn't support case-sensitive LIKE statements;