diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/database-functions.txt | 5 | ||||
| -rw-r--r-- | docs/releases/4.2.txt | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/models/database-functions.txt b/docs/ref/models/database-functions.txt index e9a0736b5b..bdbecec2e9 100644 --- a/docs/ref/models/database-functions.txt +++ b/docs/ref/models/database-functions.txt @@ -495,6 +495,11 @@ Usage example:: ``Now()`` uses ``STATEMENT_TIMESTAMP`` instead. If you need the transaction timestamp, use :class:`django.contrib.postgres.functions.TransactionNow`. +.. versionchanged:: 4.2 + + Support for microsecond precision on MySQL and millisecond precision on + SQLite were added. + ``Trunc`` --------- diff --git a/docs/releases/4.2.txt b/docs/releases/4.2.txt index 718f09b9dc..0c5492e125 100644 --- a/docs/releases/4.2.txt +++ b/docs/releases/4.2.txt @@ -223,6 +223,9 @@ Models the text value of a key, index, or path transform of :class:`~django.db.models.JSONField`. +* :class:`~django.db.models.functions.Now` now supports microsecond precision + on MySQL and millisecond precision on SQLite. + Requests and Responses ~~~~~~~~~~~~~~~~~~~~~~ |
