diff options
| author | Lily Foote <code@lilyf.org> | 2022-09-25 13:32:05 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-10-03 12:13:27 +0200 |
| commit | 649b28eab6765cd6b2b40c779a18ecafc99b43d7 (patch) | |
| tree | 64bd716f73eb776573bc6c14000fe6b31b6b70a1 /docs/ref | |
| parent | f71b0cf769d9ac582ee3d1a8c33d73dad3a770da (diff) | |
Fixed #34070 -- Added subsecond support to Now() on SQLite and MySQL.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/database-functions.txt | 5 |
1 files changed, 5 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`` --------- |
