distinct If distinct=True, the count will only include unique instances. This is the SQL equivalent of COUNT(DISTINCT
annotate(*args, **kwargs) Annotates each object in the QuerySet with the provided list of query
class Min(expression, output_field=None, **extra) [source] Returns the minimum value of the
class StdDev(expression, sample=False, **extra) [source] Returns the standard deviation of
filter(**kwargs) Returns a new QuerySet containing objects that match the given lookup parameters.
class Prefetch(lookup, queryset=None, to_attr=None) [source] The Prefetch()
extra(select=None, where=None, params=None, tables=None, order_by=None, select_params=None) Sometimes, the Django query syntax
dates(field, kind, order='ASC') Returns a QuerySet that evaluates to a list of
class QuerySet(model=None, query=None, using=None) [source] Usually when you’ll interact
last() Works like first(), but returns the last object in the queryset.
Page 4 of 6