| 1 | Index: docs/db-api.txt
|
|---|
| 2 | ===================================================================
|
|---|
| 3 | --- docs/db-api.txt (revision 2288)
|
|---|
| 4 | +++ docs/db-api.txt (working copy)
|
|---|
| 5 | @@ -173,7 +173,7 @@
|
|---|
| 6 | in In a given list: ``polls.get_list(id__in=[1, 3, 4])`` returns
|
|---|
| 7 | a list of polls whose IDs are either 1, 3 or 4.
|
|---|
| 8 | startswith Case-sensitive starts-with:
|
|---|
| 9 | - ``polls.get_list(question_startswith="Would")``. (PostgreSQL
|
|---|
| 10 | + ``polls.get_list(question__startswith="Would")``. (PostgreSQL
|
|---|
| 11 | and MySQL only. SQLite doesn't support case-sensitive LIKE
|
|---|
| 12 | statements; ``startswith`` will act like ``istartswith`` for
|
|---|
| 13 | SQLite.)
|
|---|