class Q [source] A Q() object, like an
class Avg(expression, output_field=FloatField(), **extra) [source] Returns the mean value
class Sum(expression, output_field=None, **extra) [source] Computes the sum of all values
select_related(*fields) Returns a QuerySet that will “follow” foreign-key relationships, selecting additional related-object
class Variance(expression, sample=False, **extra) [source] Returns the variance of the data
bulk_create(objs, batch_size=None) This method inserts the provided list of objects into the database in an efficient manner
order_by(*fields) By default, results returned by a QuerySet are ordered by the ordering tuple given by the ordering
update_or_create(defaults=None, **kwargs) A convenience method for updating an object with the given kwargs, creating
earliest(field_name=None) Works otherwise like latest() except the direction is changed.
first() Returns the first object matched by the queryset, or None if there is no matching object. If the QuerySet
Page 2 of 6