Ticket #1335: docs_db-api.txt.diff_USE_ME

File docs_db-api.txt.diff_USE_ME, 716 bytes (added by eric@…, 18 years ago)

db-api.txt documentation fix for startswith

Line 
1Index: 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.)
Back to Top