summaryrefslogtreecommitdiff
path: root/django/db/models/functions
AgeCommit message (Expand)Author
2023-02-01[4.2.x] Refs #33476 -- Applied Black's 2023 stable style.David Smith
2023-01-09Refs #30240 -- Fixed argument name for MySQLSHA2Mixin.as_mysql() and PostgreS...Marti Raudsepp
2022-12-15Fixed #33308 -- Added support for psycopg version 3.Daniele Varrazzo
2022-10-24Refs #34070 -- Fixed date format in Now() on SQLite.Mariusz Felisiak
2022-10-06Refs #30158 -- Removed alias argument for Expression.get_group_by_cols().Simon Charette
2022-10-03Fixed #34070 -- Added subsecond support to Now() on SQLite and MySQL.Lily Foote
2022-07-06Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() parameters.Simon Charette
2022-07-04Fixed CVE-2022-34265 -- Protected Trunc(kind)/Extract(lookup_name) against SQ...Mariusz Felisiak
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-09-29Fixed #33141 -- Renamed Expression.empty_aggregate_value to empty_result_set_...David Wobrock
2021-09-16Fixed #32365 -- Made zoneinfo the default timezone implementation.Carlton Gibson
2021-07-15Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.db....Daniyal
2021-07-02Refs #26430 -- Re-introduced empty aggregation optimization.Simon Charette
2021-06-22Refs #32858, Refs #32392 -- Restored using :: shortcut syntax in Cast() on Po...Mariusz Felisiak
2021-05-17Fixed #32750 -- Fixed crash of Extract() transform on OuterRef() expressions.Artur Beltsov
2021-03-29Fixed #31487 -- Added precision argument to Round().Nick Pope
2021-03-24Removed trailing whitespaces in error messages.Mariusz Felisiak
2021-01-29Fixed #32392 -- Fixed ExclusionConstraint crash with Cast() in expressions.Tilman Koschnick
2020-12-02Fixed #32179 -- Added JSONObject database function.Artur Beltsov
2020-10-21Fixed #26390 -- Disabled grouping by Random().Étienne Beaulé
2020-10-14Fixed #31640 -- Made Trunc() truncate datetimes to Date/TimeField in a specif...David-Wobrock
2020-10-14Refs #31640 -- Made Extract raise ValueError when using tzinfo with Date/Time...David-Wobrock
2020-10-02Fixed #32060 -- Added Random database function.Nick Pope
2020-09-02Fixed #31948 -- Added tzinfo parameter to TruncDate() and TruncTime().Joe Jackson
2020-08-11Fixed #21181 -- Added Collate database function.Tom Carrick
2020-07-30Bumped minimum isort version to 5.1.0.David Smith
2020-07-02Fixed #31758 -- Removed unneeded BytesToCharFieldConversionMixin.Sergey Fedoseev
2020-06-16Refs #30446 -- Defined default output_field of text database functions.Simon Charette
2020-05-08Fixed #12990, Refs #27694 -- Added JSONField model field.sage
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2019-10-02Removed redundant names in django.db.models.functions.__all__.Mariusz Felisiak
2019-10-02Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day l...Anatol Ulrich
2019-07-12Fixed #30602 -- Made Extract raise ValueError when using unsupported lookups ...Hasan Ramezani
2019-06-05Fixed #30542 -- Fixed crash of numerical aggregations with filter.Étienne Beaulé
2019-03-22Fixed #30271 -- Added the Sign database function.Nick Pope
2019-03-20Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database funct...Nick Pope
2019-03-07Fixed #29754 -- Added is_dst parameter to Trunc database functions.ahbk
2019-02-21Refs #28643 -- Added MD5 database function.Mariusz Felisiak
2019-02-04Fixed #30156 -- Dropped support for SpatiaLite 4.1 and 4.2.Tim Graham
2019-01-14Refs #28643 -- Extracted DurationField logic for Avg() and Sum() into mixin.Nick Pope
2019-01-14Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.Nick Pope
2019-01-14Refs #28643 -- Moved db function mixins to a separate module.Nick Pope
2019-01-14Avoided calling as_oracle() for SQLite in Left database function.Nick Pope
2019-01-14Corrected comment in TruncTime database function.Nick Pope
2019-01-14Simplified overriding source expressions in some database functions.Nick Pope
2019-01-12Refs #28643 -- Added Reverse database function.Nick Pope
2019-01-10Refs #28643 -- Added NullIf database function.Mads Jensen
2019-01-08Simplified some imports for database functions.Nick Pope
2018-11-30Refs #28643 -- Skipped ATan2() workaround on SpatiaLite 5+.Nick Pope