1
0
mirror of https://github.com/django/django.git synced 2024-11-20 08:24:58 +00:00
django/docs/ref/models
Anssi Kääriäinen 0c7633178f Fixed #24020 -- Refactored SQL compiler to use expressions
Refactored compiler SELECT, GROUP BY and ORDER BY generation.
While there, also refactored select_related() implementation
(get_cached_row() and get_klass_info() are now gone!).

Made get_db_converters() method work on expressions instead of
internal_type. This allows the backend converters to target
specific expressions if need be.

Added query.context, this can be used to set per-query state.

Also changed the signature of database converters. They now accept
context as an argument.
2015-01-08 14:07:54 -05:00
..
class.txt
database-functions.txt Fixed #23753 -- Added a suite of SQL Functions 2014-12-27 15:27:27 +11:00
expressions.txt Fixed #24020 -- Refactored SQL compiler to use expressions 2015-01-08 14:07:54 -05:00
fields.txt Fixed #24020 -- Refactored SQL compiler to use expressions 2015-01-08 14:07:54 -05:00
index.txt Fixed #12663 -- Formalized the Model._meta API for retrieving fields. 2015-01-06 19:25:12 -05:00
instances.txt Used https for most *.python.org links 2014-12-19 18:07:52 +01:00
lookups.txt Renamed qn to compiler 2014-11-16 13:19:34 +01:00
meta.txt Fixed #12663 -- Formalized the Model._meta API for retrieving fields. 2015-01-06 19:25:12 -05:00
options.txt Fixed a vesionadded directive. 2014-12-29 10:22:19 +01:00
queries.txt Fixed #14030 -- Allowed annotations to accept all expressions 2014-11-15 14:00:43 +00:00
querysets.txt Fixed #23968 -- Replaced list comprehension with generators and dict comprehension 2014-12-08 07:58:23 -05:00
relations.txt