Kaydet (Commit) 66630f58 authored tarafından Tim Graham's avatar Tim Graham

Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.

Thanks Josh Kupershmidt.
üst 34c60c42
...@@ -1714,7 +1714,7 @@ This has a number of caveats though: ...@@ -1714,7 +1714,7 @@ This has a number of caveats though:
The ``batch_size`` parameter controls how many objects are created in single 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 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 count
~~~~~ ~~~~~
...@@ -2125,12 +2125,13 @@ Example:: ...@@ -2125,12 +2125,13 @@ Example::
Blog.objects.get(name__iexact='beatles blog') Blog.objects.get(name__iexact='beatles blog')
Blog.objects.get(name__iexact=None) Blog.objects.get(name__iexact=None)
SQL equivalent:: SQL equivalents::
SELECT ... WHERE name ILIKE 'beatles blog'; SELECT ... WHERE name ILIKE 'beatles blog';
SELECT ... WHERE name IS NULL;
Note this will match ``'Beatles Blog'``, ``'beatles blog'``, ``'BeAtLes Note the first query will match ``'Beatles Blog'``, ``'beatles blog'``,
BLoG'``, etc. ``'BeAtLes BLoG'``, etc.
.. admonition:: SQLite users .. admonition:: SQLite users
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment