Fixed #1335 -- Fixed typo in docs/db-api.txt. Thanks, Eric Walstad

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-02-10 21:43:45 +00:00
parent bf16befc43
commit 906e5dac0d
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ The DB API supports the following lookup types:
in In a given list: ``polls.get_list(id__in=[1, 3, 4])`` returns 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. a list of polls whose IDs are either 1, 3 or 4.
startswith Case-sensitive starts-with: startswith Case-sensitive starts-with:
``polls.get_list(question_startswith="Would")``. (PostgreSQL ``polls.get_list(question__startswith="Would")``. (PostgreSQL
and MySQL only. SQLite doesn't support case-sensitive LIKE and MySQL only. SQLite doesn't support case-sensitive LIKE
statements; ``startswith`` will act like ``istartswith`` for statements; ``startswith`` will act like ``istartswith`` for
SQLite.) SQLite.)