Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str NameLoad body Raise Call NameLoad Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str NameLoad If NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad body Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad AttributeLoad NameLoad attr While BoolOpAnd NameLoad BoolOpOr UnaryOpNot AttributeLoad NameLoad attr CompareLt NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Yield NameLoad AugAssignAdd NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If BoolOpAnd UnaryOpNot NameLoad CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num UnaryOpNot BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr orelse If UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr For NameStore NameLoad body Expr Yield NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad NameLoad NameLoad ListLoad ListLoad body If BoolOpAnd CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num UnaryOpNot BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Raise NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr CompareLt NameLoad Num orelse Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr CompareLt NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad UnaryOpNot NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Yield NameLoad orelse Assign NameStore AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Num orelse Assign NameStore NameLoad Assign NameStore Num Assign NameStore BoolOpOr AttributeLoad NameLoad attr NameLoad If Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Dict Str NameLoad orelse Assign NameStore Dict Assign NameStore NameLoad While BoolOpAnd BoolOpOr BoolOpAnd NameLoad CompareLtE NameLoad NameLoad NameLoad BoolOpOr UnaryOpNot AttributeLoad NameLoad attr CompareLt NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad orelse If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str orelse Assign NameStore ListLoad Expr Call NameLoad NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad For NameStore NameLoad body Expr Yield NameLoad AugAssignAdd NameStore Num Assign NameStore AttributeLoad NameLoad attr If BoolOpOr BoolOpAnd NameLoad CompareGtE AttributeLoad NameLoad attr NameLoad BoolOpAnd NameLoad CompareGtE NameLoad NameLoad body Break If CompareIs NameLoad NameLoad body Break Assign NameStore CompareGt NameLoad NameLoad If AttributeLoad NameLoad attr body AugAssignSub NameStore Num orelse AugAssignAdd NameStore Num decorator_list decorator_list
N/A django.db.models.manager Manager django.db.models.query QuerySet django.db.models.fields AutoField IntegerField django.db.models Min Max dbutils.helpers attach_foreignkey QuerySetDoubleIteration N/A Exception N/A N/A A QuerySet was iterated over twice, you probably want to list() it. N/A N/A SkinnyManager N/A Manager N/A get_query_set N/A N/A self N/A N/A N/A N/A SkinnyQuerySet N/A self model using N/A self _db N/A N/A SkinnyQuerySet N/A QuerySet N/A N/A 
    A QuerySet which eliminates the in-memory result cache.
     __len__ N/A N/A self N/A N/A N/A N/A getattr self has_run_before False N/A N/A N/A TypeError SkinnyQuerySet doesn't support __len__ after __iter__, if you *only* need a count you should use .count(), if you need to reuse the results you should coerce to a list and then len() that. N/A N/A N/A N/A super SkinnyQuerySet self __len__ N/A __iter__ N/A N/A self N/A N/A N/A N/A N/A self _result_cache None N/A N/A N/A iter N/A self _result_cache N/A has_run_before N/A getattr self has_run_before False N/A has_run_before N/A N/A N/A QuerySetDoubleIteration This SkinnyQuerySet has already been iterated over once, you should assign it to a list if you want to reuse the data. N/A N/A self has_run_before True N/A N/A N/A self iterator N/A list N/A N/A self N/A N/A N/A N/A list self N/A N/A InvalidQuerySetError N/A ValueError N/A N/A N/A IterableQuerySetWrapper N/A object N/A N/A 
    Iterates through a QuerySet using limit and offset.

    For efficiency use ``RangeQuerySetWrapper``.
     __init__ N/A N/A self queryset step limit N/A 10000 None N/A N/A N/A self limit limit N/A limit N/A N/A N/A self step N/A min limit step N/A N/A N/A self step step N/A N/A self queryset queryset N/A __iter__ N/A N/A self N/A N/A N/A at 0 N/A results N/A list N/A N/A self queryset N/A at N/A at N/A self step N/A N/A results N/A N/A N/A self limit N/A at N/A self limit N/A N/A result results N/A N/A N/A result N/A at N/A self step N/A results N/A list N/A N/A self queryset N/A at N/A at N/A self step N/A iterator N/A N/A self N/A N/A N/A N/A iter self N/A N/A RangeQuerySet N/A SkinnyQuerySet N/A N/A 
    See ``RangeQuerySetWrapper``
     __init__ N/A N/A self model step sorted N/A 10000 False args kwargs N/A N/A N/A N/A N/A super SkinnyQuerySet self __init__ model args kwargs N/A N/A self step step N/A N/A self sorted sorted N/A iterator N/A N/A self bypass N/A False N/A N/A N/A N/A bypass N/A N/A N/A self query low_mark 0 N/A N/A N/A N/A self query order_by N/A N/A self query extra_order_by N/A N/A high_mark N/A N/A self query high_mark N/A N/A N/A N/A self query clear_limits N/A results N/A RangeQuerySetWrapper self step N/A self step limit high_mark sorted N/A self sorted N/A N/A N/A bypass N/A N/A results N/A IterableQuerySetWrapper self step N/A self step N/A N/A results N/A N/A N/A super RangeQuerySet self iterator N/A result results N/A N/A N/A result N/A N/A RangeQuerySetWrapper N/A object N/A N/A 
    Iterates through a queryset by chunking results by ``step`` and using GREATER THAN
    and LESS THAN queries on the primary key.

    Very efficient, but ORDER BY statements will not work.
     __init__ N/A N/A self queryset step limit min_id max_id sorted select_related callbacks N/A 1000 None None None True N/A N/A N/A N/A N/A N/A N/A N/A queryset query low_mark 0 N/A N/A N/A N/A queryset query order_by N/A N/A queryset query extra_order_by N/A N/A N/A limit None N/A N/A limit N/A N/A queryset query high_mark N/A N/A N/A N/A queryset query clear_limits N/A N/A InvalidQuerySetError N/A N/A self limit limit N/A limit N/A N/A N/A self step N/A min limit N/A abs step N/A N/A self desc N/A step 0 N/A N/A N/A self step N/A abs step N/A N/A self desc N/A step 0 N/A N/A self queryset queryset N/A N/A N/A self min_id N/A self max_id N/A min_id max_id N/A N/A self sorted N/A sorted N/A max_id N/A N/A self select_related select_related N/A N/A self callbacks callbacks N/A __iter__ N/A N/A self N/A N/A N/A pk N/A N/A N/A N/A self queryset model _meta pk N/A N/A N/A isinstance pk N/A IntegerField AutoField N/A N/A result N/A iter N/A IterableQuerySetWrapper N/A self queryset N/A self step N/A self limit N/A N/A N/A result N/A N/A max_id N/A self max_id N/A N/A N/A self min_id None N/A N/A at N/A self min_id N/A N/A N/A N/A self sorted N/A N/A at 0 N/A N/A at None N/A num 0 N/A limit N/A N/A self limit max_id N/A N/A isinstance N/A self queryset RangeQuerySet N/A N/A extra_kwargs N/A bypass True N/A N/A extra_kwargs N/A N/A has_results True N/A N/A N/A N/A max_id N/A at max_id has_results N/A N/A N/A self limit N/A num N/A self limit N/A N/A start num N/A N/A at None N/A N/A results N/A self queryset N/A N/A N/A self desc N/A N/A results N/A N/A N/A self queryset filter id__lte at N/A N/A N/A N/A self desc N/A N/A results N/A N/A N/A self queryset filter id__gte at N/A N/A self sorted N/A N/A N/A self desc N/A N/A results N/A N/A results order_by -id N/A N/A results N/A N/A results order_by id N/A N/A self max_id N/A N/A results N/A N/A results filter id__lte max_id N/A results N/A N/A N/A results N/A N/A self step iterator extra_kwargs N/A N/A self select_related N/A N/A results N/A list results N/A fkey N/A self select_related N/A N/A N/A __ fkey N/A N/A N/A fkey related N/A N/A fkey split __ N/A N/A related N/A N/A N/A attach_foreignkey results N/A getattr N/A N/A self queryset model fkey related N/A N/A self callbacks N/A N/A results N/A list results N/A callback N/A self callbacks N/A N/A N/A callback results N/A result results N/A N/A N/A result N/A num 1 N/A at N/A result id N/A N/A N/A max_id N/A N/A result id max_id N/A limit N/A num limit N/A N/A N/A N/A at None N/A N/A N/A has_results N/A num start N/A N/A self desc N/A N/A at 1 N/A N/A at 1 N/A N/A