exclude(**kwargs) Returns a new QuerySet containing objects that do not match the given lookup parameters
count() Returns an integer representing the number of objects in the database matching the QuerySet. The count()
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
order_by(*fields) By default, results returned by a QuerySet are ordered by the ordering tuple given by the ordering
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
earliest(field_name=None) Works otherwise like latest() except the direction is changed.
update_or_create(defaults=None, **kwargs) A convenience method for updating an object with the given kwargs, creating
first() Returns the first object matched by the queryset, or None if there is no matching object. If the QuerySet
Page 2 of 6