| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
|
|
|
|
|
|
| |
and Expression.convert_value().
Per deprecation timeline.
|
| |
|
| |
|
|
|
|
|
|
| |
Expression.convert_value().
Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
|
| |
|
| |
|
|
|
|
| |
Regression introduced in 9aac99e96d100b34b6daa3a137531eff4f17076e
|
|
|
|
| |
QuerySet.values()
|
|
|
|
|
|
| |
As suggested by Anssi. This has the slightly strange side effect of
passing the expression to Expression.convert_value has the expression
passed back to it, but it allows more complex patterns of 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.
|
|
Complete rework of translating data values from database
Deprecation of SubfieldBase, removal of resolve_columns and
convert_values in favour of a more general converter based approach and
public API Field.from_db_value(). Now works seamlessly with aggregation,
.values() and raw queries.
Thanks to akaariai in particular for extensive advice and inspiration,
also to shaib, manfre and timograham for their reviews.
|