summaryrefslogtreecommitdiff
path: root/django/db/models/functions/text.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #34554 -- Fixed Reverse(Value(…)) crash on Oracle.Mariusz Felisiak2023-05-101-1/+2
|
* Fixed #34480 -- Fixed crash of annotations with Chr().Jacob Walls2023-04-111-0/+1
|
* Refs #30240 -- Fixed argument name for MySQLSHA2Mixin.as_mysql() and ↵Marti Raudsepp2023-01-091-4/+4
| | | | PostgreSQLSHAMixin.as_postgresql() methods.
* Fixed #33308 -- Added support for psycopg version 3.Daniele Varrazzo2022-12-151-2/+16
| | | | | | | Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews. Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-75/+103
|
* Fixed #31758 -- Removed unneeded BytesToCharFieldConversionMixin.Sergey Fedoseev2020-07-021-18/+2
| | | Bug was fixed in mysqlclient 1.3.13.
* Refs #30446 -- Defined default output_field of text database functions.Simon Charette2020-06-161-1/+5
| | | | | | | This prevented the default behavior of BaseExpression._resolve_output_field from error'ing out when such functions accepted both expressions from mixed types (e.g. SubStr(CharField, IntegerField, IntegerField)).
* Simplified imports from django.db and django.contrib.gis.db.Nick Pope2020-02-041-1/+1
|
* Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database ↵Nick Pope2019-03-201-12/+64
| | | | | functions. Thanks Mariusz Felisiak and Tim Graham for reviews.
* Refs #28643 -- Added MD5 database function.Mariusz Felisiak2019-02-211-0/+16
| | | Thanks Tim Graham, Nick Pope and Simon Charette for reviews.
* Avoided calling as_oracle() for SQLite in Left database function.Nick Pope2019-01-141-3/+3
|
* Simplified overriding source expressions in some database functions.Nick Pope2019-01-141-3/+2
|
* Refs #28643 -- Added Reverse database function.Nick Pope2019-01-121-0/+19
| | | | Thanks Mariusz Felisiak for Oracle advice and review.
* Simplified some imports for database functions.Nick Pope2019-01-081-3/+5
| | | Used more specific modules to reduce the risk of circular imports.
* Fixed #29500 -- Fixed SQLite function crashes on null values.Srinivas Reddy Thatiparthy2018-09-101-3/+4
| | | | | Co-authored-by: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
* Fixed #29048 -- Added **extra_context to database function as_vendor() methods.priyanshsaxena2018-08-231-16/+25
|
* Refs #28643 -- Added Repeat database function.Mariusz Felisiak2018-04-031-0/+14
| | | Thanks Tim Graham and Nick Pope for reviews.
* Fixed #29251 -- Added bytes to str conversion in LPad/RPad database ↵Mariusz Felisiak2018-04-031-1/+17
| | | | | functions on MySQL. Thanks Tim Graham for the review.
* Refs #28643 -- Added LPad and RPad database functions.Mariusz Felisiak2018-03-191-0/+13
| | | Thanks Tim Graham for the review.
* Refs #28643 -- Added LTrim, RTrim, and Trim database functions.Mariusz Felisiak2018-03-151-0/+15
| | | Thanks Tim Graham and Mads Jensen for reviews.
* Refs #28643 -- Added Ord, Chr, Left, and Right database functions.bobort2018-02-231-1/+60
|
* Refs #28643 -- Added Replace database function.Mads Jensen2018-01-171-0/+7
|
* Refs #28643 -- Reorganized database functions.Mariusz Felisiak2017-10-131-0/+113
Thanks Tim Graham for the review.