mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #28643 -- Added Ord, Chr, Left, and Right database functions.
This commit is contained in:
@@ -183,8 +183,12 @@ Models
|
||||
* A ``BinaryField`` may now be set to ``editable=True`` if you wish to include
|
||||
it in model forms.
|
||||
|
||||
* The new :class:`~django.db.models.functions.Replace` database function
|
||||
replaces strings in an expression.
|
||||
* A number of new text database functions are added:
|
||||
:class:`~django.db.models.functions.Chr`,
|
||||
:class:`~django.db.models.functions.Ord`,
|
||||
:class:`~django.db.models.functions.Left`,
|
||||
:class:`~django.db.models.functions.Right`, and
|
||||
:class:`~django.db.models.functions.Replace`.
|
||||
|
||||
* The new :class:`~django.db.models.functions.TruncWeek` function truncates
|
||||
:class:`~django.db.models.DateField` and
|
||||
|
||||
Reference in New Issue
Block a user