summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/lookups.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #26056 -- Added QuerySet.values()/values_list() support for ↵Ben Cail2022-11-181-0/+8
| | | | | | ArrayField's __overlap lookup. Thanks Mads Jensen and kosz85 and the initial patch.
* Fixed #33788 -- Added TrigramStrictWordSimilarity() and ↵Matt Brewer2022-06-171-0/+5
| | | | TrigramStrictWordDistance() on PostgreSQL.
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-20/+20
|
* Fixed #32492 -- Added TrigramWordSimilarity() and TrigramWordDistance() on ↵Nikita Marchant2021-09-171-0/+5
| | | | PostgreSQL.
* Fixed #12990, Refs #27694 -- Added JSONField model field.sage2020-05-081-10/+1
| | | | | | | | | | | Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Refs #12990 -- Moved PostgresSimpleLookup to the ↵Mariusz Felisiak2020-04-011-23/+15
| | | | django.db.models.lookups.PostgresOperatorLookup.
* Refs #31304 -- Made __search lookup default to its rhs' config.Simon Charette2020-03-061-1/+2
| | | | | | This make the SearchLookup lookup more coherent with its SearchVectorExact base which configures its rhs SearchQuery with its lhs' config.
* Fixed #30826 -- Fixed crash of many JSONField lookups when one hand side is ↵Louise Grandjonc2019-10-111-1/+1
| | | | | | key transform. Regression in 6c3dfba89215fc56fc27ef61829a6fff88be4abb.
* Fixed #29391 -- Made PostgresSimpleLookup respect Field.get_db_prep_value().Vinay Karanam2019-02-091-2/+2
|
* Fixed #25718 -- Made a JSONField lookup value of None match keys that have a ↵Dmitry Dygalo2018-04-041-0/+10
| | | | null value.
* Refs #27795 -- Replaced many force_text() with str()Claude Paroz2017-04-271-2/+1
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-1/+1
|
* Fixed #24938 -- Added PostgreSQL trigram support.Matthew Somerville2016-05-131-0/+5
|
* Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup()Claude Paroz2016-05-041-1/+6
| | | | Thanks Tim Graham for completing the initial patch.
* Refs #3254 -- Added full text search to contrib.postgres.Marc Tamlyn2016-04-221-0/+12
| | | | | | | | | | Adds a reasonably feature complete implementation of full text search using the built in PostgreSQL engine. It uses public APIs from Expression and Lookup. With thanks to Tim Graham, Simon Charettes, Josh Smeaton, Mikey Ariel and many others for their advice and review. Particular thanks also go to the supporters of the contrib.postgres kickstarter.
* Fixed #24629 -- Unified Transform and Expression APIsJosh Smeaton2015-09-211-7/+1
|
* Add HasAnyKeys lookup for HStoreField.Marc Tamlyn2015-05-301-0/+15
|
* Move % addition to lookups, refactor postgres lookups.Marc Tamlyn2015-01-101-6/+32
| | | | | | These refactorings making overriding some text based lookup names on other fields (specifically `contains`) much cleaner. It also removes a bunch of duplication in the contrib.postgres lookups.
* Fixed #23423 -- Added unaccent lookup in django.contrib.postgresThomas Chaumeny2014-11-281-0/+10