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
ad8036d7
Kaydet (Commit)
ad8036d7
authored
Eki 13, 2017
tarafından
Mariusz Felisiak
Kaydeden (comit)
GitHub
Eki 13, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Refs #28643 -- Reorganized database functions docs.
Thanks Tim Graham for the review.
üst
3ffbd545
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
18 deletions
+18
-18
database-functions.txt
docs/ref/models/database-functions.txt
+0
-0
1.10.txt
docs/releases/1.10.txt
+7
-7
1.11.txt
docs/releases/1.11.txt
+6
-6
2.0.txt
docs/releases/2.0.txt
+5
-5
No files found.
docs/ref/models/database-functions.txt
Dosyayı görüntüle @
ad8036d7
This diff is collapsed.
Click to expand it.
docs/releases/1.10.txt
Dosyayı görüntüle @
ad8036d7
...
...
@@ -423,12 +423,12 @@ Models
* A proxy model may now inherit multiple proxy models that share a common
non-abstract parent class.
* Added :class:`~django.db.models.functions.
datetime.Extract` functions
to extract
datetime components as integers, such as year and hour.
* Added :class:`~django.db.models.functions.
Extract` functions to extract
datetime components as integers, such as year and hour.
* Added :class:`~django.db.models.functions.
datetime.Trunc` functions to
truncate a date or datetime to a significant component. They enable queries
like
sales-per-day or sales-per-hour.
* Added :class:`~django.db.models.functions.
Trunc` functions to truncate a date
or datetime to a significant component. They enable queries like
sales-per-day or sales-per-hour.
* ``Model.__init__()`` now sets values of virtual fields from its keyword
arguments.
...
...
@@ -894,8 +894,8 @@ Miscellaneous
yourself.
* Private expressions ``django.db.models.expressions.Date`` and ``DateTime``
are removed. The new :class:`~django.db.models.functions.
datetime.Trunc`
expressions
provide the same functionality.
are removed. The new :class:`~django.db.models.functions.
Trunc` expressions
provide the same functionality.
* The ``_base_manager`` and ``_default_manager`` attributes are removed from
model instances. They remain accessible on the model class.
...
...
docs/releases/1.11.txt
Dosyayı görüntüle @
ad8036d7
...
...
@@ -330,16 +330,16 @@ Models
(This validator moved to the form field in :doc:`Django 1.11.2 <1.11.2>`.)
* Added support for time truncation to
:class:`~django.db.models.functions.
datetime.
Trunc` functions.
:class:`~django.db.models.functions.Trunc` functions.
* Added the :class:`~django.db.models.functions.
datetime.ExtractWeek` function
to
extract the week from :class:`~django.db.models.DateField` and
* Added the :class:`~django.db.models.functions.
ExtractWeek` function to
extract the week from :class:`~django.db.models.DateField` and
:class:`~django.db.models.DateTimeField` and exposed it through the
:lookup:`week` lookup.
* Added the :class:`~django.db.models.functions.
datetime.TruncTime` function
to truncate :class:`~django.db.models.DateTimeField` to its time componen
t
and exposed it
through the :lookup:`time` lookup.
* Added the :class:`~django.db.models.functions.
TruncTime` function to truncate
:class:`~django.db.models.DateTimeField` to its time component and exposed i
t
through the :lookup:`time` lookup.
* Added support for expressions in :meth:`.QuerySet.values` and
:meth:`~.QuerySet.values_list`.
...
...
docs/releases/2.0.txt
Dosyayı görüntüle @
ad8036d7
...
...
@@ -245,20 +245,20 @@ Models
:attr:`Meta.get_latest_by <django.db.models.Options.get_latest_by>` now
allow ordering by several fields.
* Added the :class:`~django.db.models.functions.
datetime.ExtractQuarter`
function to
extract the quarter from :class:`~django.db.models.DateField` and
* Added the :class:`~django.db.models.functions.
ExtractQuarter` function to
extract the quarter from :class:`~django.db.models.DateField` and
:class:`~django.db.models.DateTimeField`, and exposed it through the
:lookup:`quarter` lookup.
* Added the :class:`~django.db.models.functions.
datetime.TruncQuarter`
function to
truncate :class:`~django.db.models.DateField` and
* Added the :class:`~django.db.models.functions.
TruncQuarter` function to
truncate :class:`~django.db.models.DateField` and
:class:`~django.db.models.DateTimeField` to the first day of a quarter.
* Added the :attr:`~django.db.models.Index.db_tablespace` parameter to
class-based indexes.
* If the database supports a native duration field (Oracle and PostgreSQL),
:class:`~django.db.models.functions.
datetime.
Extract` now works with
:class:`~django.db.models.functions.Extract` now works with
:class:`~django.db.models.DurationField`.
* Added the ``of`` argument to :meth:`.QuerySet.select_for_update()`, supported
...
...
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