class documentation

class CaptureQueriesContext:

Known subclasses: django.test.testcases._AssertNumQueriesContext

View In Hierarchy

Context manager that captures queries executed by the specified connection.
Method __enter__ Undocumented
Method __exit__ Undocumented
Method __getitem__ Undocumented
Method __init__ Undocumented
Method __iter__ Undocumented
Method __len__ Undocumented
Instance Variable connection Undocumented
Instance Variable final​_queries Undocumented
Instance Variable force​_debug​_cursor Undocumented
Instance Variable initial​_queries Undocumented
Property captured​_queries Undocumented
def __enter__(self):

Undocumented

def __exit__(self, exc_type, exc_value, traceback):
def __getitem__(self, index):

Undocumented

def __init__(self, connection):
def __iter__(self):

Undocumented

def __len__(self):

Undocumented

connection =

Undocumented

final_queries =

Undocumented

force_debug_cursor =

Undocumented

initial_queries =

Undocumented

@property
captured_queries =

Undocumented