template A class attribute, as a format string, that describes the SQL that is generated for this function. Defaults to
class Value(value, output_field=None) [source] A Value() object represents the
relabeled_clone(change_map) Returns a clone (copy) of self, with any column aliases relabeled. Column aliases are
set_source_expressions(expressions) Takes a list of expressions and stores them such that get_source_expressions()
asc() Returns the expression ready to be sorted in ascending order.
class Aggregate(expression, output_field=None, **extra) [source]
class F [source] An F() object represents the value of a model field or annotated
template A class attribute, as a format string, that describes the SQL that is generated for this aggregate. Defaults to '%(function)s(
function A class attribute describing the function that will be generated. Specifically, the function will be interpolated
get_group_by_cols() Responsible for returning the list of columns references by this expression. get_group_by_cols()
Page 1 of 3