summaryrefslogtreecommitdiff
path: root/django/db/backends/sqlite3/_functions.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #34233 -- Referenced isocalendar() results by names not indexes.Mariusz Felisiak2023-01-181-2/+2
| | | isocalendar() returns a namedtuple() instead of tuple in Python 3.9+
* Fixed #34233 -- Dropped support for Python 3.8 and 3.9.Mariusz Felisiak2023-01-181-7/+2
|
* Refs #32365 -- Removed support for pytz timezones per deprecation timeline.Mariusz Felisiak2023-01-171-3/+7
|
* Used more augmented assignment statements.Nick Pope2022-10-311-2/+2
| | | | | | Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]'
* Fixed #33553 -- Used built-in math functions in SQLite 3.35+.Nick Pope2022-03-021-18/+21
| | | | | | In SQLite 3.35+ some math functions are available built-in as long as they are not disabled at compile time. We can introspect this and use these built-in functions in preference to our slower implementations.
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-2/+8
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-106/+128
|
* Refs #33355 -- Constructed SQLite list aggregate types once.Adam Johnson2021-12-231-12/+24
|
* Refs #33355 -- Removed @none_guard from SQLite functions.Adam Johnson2021-12-231-49/+212
| | | | Co-Authored-By: Nick Pope <nick@nickpope.me.uk>
* Refs #33355 -- Made trunc functions raise ValueError on invalid lookups on ↵Adam Johnson2021-12-231-0/+3
| | | | | | SQLite. Co-Authored-By: Nick Pope <nick@nickpope.me.uk>
* Refs #33355 -- Moved SQLite functions to separate module.Adam Johnson2021-12-231-0/+303
Co-Authored-By: Nick Pope <nick@nickpope.me.uk>