mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
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:
parent
bf16befc43
commit
906e5dac0d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
a list of polls whose IDs are either 1, 3 or 4.
|
||||
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
|
||||
statements; ``startswith`` will act like ``istartswith`` for
|
||||
SQLite.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue