module documentation
Undocumented
Class |
|
Base class for all query expressions. |
Class |
|
An SQL searched CASE expression: |
Class |
|
Undocumented |
Class |
|
Provide the ability to combine one or two objects with some connector. For example F('foo') + F('bar'). |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
An expression that can be combined with other expressions. |
Class |
|
An expression containing multiple expressions. Can be used to provide a list of expressions as an argument to another expression, like a partition clause. |
Class |
|
An expression that can wrap another expression so that it can provide extra context to the inner expression, such as the output_field. |
Class | F |
An object capable of resolving references to existing query objects. |
Class |
|
An SQL function call. |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Reference to column alias of the query. For example, Ref('sum_cost') in qs.annotate(sum_cost=Sum('cost')) query. |
Class |
|
An object that contains a reference to an outer query. |
Class |
|
Undocumented |
Class |
|
Some expressions with output_field=DecimalField() must be cast to numeric to be properly filtered. |
Class |
|
Undocumented |
Class |
|
An explicit subquery. It may contain OuterRef() references to the outer query which will be resolved when it is applied to that query. |
Class |
|
Undocumented |
Class |
|
Represent a wrapped value as a node within an expression. |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Model the frame clause in window expressions. There are two types of frame clauses which are subclasses, however, all processing and validation (by no means intended to be complete) is done here. Thus, providing an end for a frame is optional (the default is UNBOUNDED FOLLOWING, which is the last row in the frame). |
Function | register |
Register combinable types: lhs <connector> rhs -> result e.g. register_combinable_fields( IntegerField, Combinable.ADD, FloatField, FloatField ) |
Variable |
|
Undocumented |
Function | _resolve |
Undocumented |
Variable | _connector |
Undocumented |
Variable | _connector |
Undocumented |
Register combinable types: lhs <connector> rhs -> result e.g. register_combinable_fields( IntegerField, Combinable.ADD, FloatField, FloatField )
@functools.lru_cache( maxsize=128)
def _resolve_combined_type(connector, lhs_type, rhs_type): (source) ¶
def _resolve_combined_type(connector, lhs_type, rhs_type): (source) ¶
Undocumented