diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-07-26 16:53:58 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-07-26 16:53:58 +0000 |
| commit | 284948b9cf275b792369405747c1e112a0b94a48 (patch) | |
| tree | deffa1514241709ca4a26295db0e4ab523fdeec5 /docs/db-api.txt | |
| parent | 63009faa141273726d124863053e3b5ab298c4f5 (diff) | |
Fixed #166 -- Added an 'in' lookup type to the database API
git-svn-id: http://code.djangoproject.com/svn/django/trunk@318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/db-api.txt')
| -rw-r--r-- | docs/db-api.txt | 2 |
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; |
