as_sql(compiler, connection, function=None, template=None, arg_joiner=None, **extra_context) [source]
class Expression [source] contains_aggregate
contains_aggregate Tells Django that this expression contains an aggregate and that a GROUP BY clause needs to
class RawSQL(sql, params, output_field=None) [source] Sometimes database expressions can’t
Page 3 of 3