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 QuerySet(model=None, query=None, using=None) [source] Usually when you’ll interact
extra(select=None, where=None, params=None, tables=None, order_by=None, select_params=None) Sometimes, the Django query syntax
exists() Returns True if the QuerySet contains any results, and False if not. This tries
only(*fields) The only() method is more or less the opposite of defer(). You call it with the fields
update(**kwargs) Performs an SQL update query for the specified fields, and returns the number of rows matched (which may not
reverse() Use the reverse() method to reverse the order in which a queryset’s elements are returned. Calling
get(**kwargs) Returns the object matching the given lookup parameters, which should be in the format described in Field lookups
values_list(*fields, flat=False) This is similar to values() except that instead of returning dictionaries, it
Page 5 of 6