Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
66630f58
Kaydet (Commit)
66630f58
authored
Tem 30, 2014
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.
Thanks Josh Kupershmidt.
üst
34c60c42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
querysets.txt
docs/ref/models/querysets.txt
+5
-4
No files found.
docs/ref/models/querysets.txt
Dosyayı görüntüle @
66630f58
...
@@ -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 m
aximum 999 variables per query is
used.
where the default is such that at m
ost 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 equivalent
s
::
SELECT ... WHERE name ILIKE 'beatles blog';
SELECT ... WHERE name ILIKE 'beatles blog';
SELECT ... WHERE name IS NULL;
Note th
is will match ``'Beatles Blog'``, ``'beatles blog'``, ``'BeAtLes
Note th
e first query will match ``'Beatles Blog'``, ``'beatles blog'``,
BLoG'``, etc.
``'BeAtLes
BLoG'``, etc.
.. admonition:: SQLite users
.. admonition:: SQLite users
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment