MCPcopy
hub / github.com/django/django / chunked_cursor

Method chunked_cursor

django/db/backends/base/base.py:669–674  ·  view source on GitHub ↗

Return a cursor that tries to avoid caching in the database (if supported by the database), otherwise return a regular cursor.

(self)

Source from the content-addressed store, hash-verified

667 return DatabaseErrorWrapper(self)
668
669 def chunked_cursor(self):
670 """
671 Return a cursor that tries to avoid caching in the database (if
672 supported by the database), otherwise return a regular cursor.
673 """
674 return self.cursor()
675
676 def make_debug_cursor(self, cursor):
677 """Create a cursor that logs all queries in self.queries_log."""

Callers 1

execute_sqlMethod · 0.45

Calls 1

cursorMethod · 0.95

Tested by

no test coverage detected