diff options
| author | Tim Graham <timograham@gmail.com> | 2014-07-30 13:03:54 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-07-30 13:03:54 -0400 |
| commit | 66630f589cd641efe91f111919ad5059b8a01a88 (patch) | |
| tree | 11986c30673c70dfb61ee1d70d15b1c87deae6de | |
| parent | 34c60c42b61ffd88b1074cc81787977dcc20eb21 (diff) | |
Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.
Thanks Josh Kupershmidt.
| -rw-r--r-- | docs/ref/models/querysets.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 018c0f06fe..613b1d3094 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1714,7 +1714,7 @@ This has a number of caveats though: The ``batch_size`` parameter controls how many objects are created in single query. The default is to create all objects in one batch, except for SQLite -where the default is such that at maximum 999 variables per query is used. +where the default is such that at most 999 variables per query are used. count ~~~~~ @@ -2125,12 +2125,13 @@ Example:: Blog.objects.get(name__iexact='beatles blog') Blog.objects.get(name__iexact=None) -SQL equivalent:: +SQL equivalents:: SELECT ... WHERE name ILIKE 'beatles blog'; + SELECT ... WHERE name IS NULL; -Note this will match ``'Beatles Blog'``, ``'beatles blog'``, ``'BeAtLes -BLoG'``, etc. +Note the first query will match ``'Beatles Blog'``, ``'beatles blog'``, +``'BeAtLes BLoG'``, etc. .. admonition:: SQLite users |
