MCPcopy
hub / github.com/django/django / _execute_with_wrappers

Method _execute_with_wrappers

django/db/backends/utils.py:88–92  ·  view source on GitHub ↗
(self, sql, params, many, executor)

Source from the content-addressed store, hash-verified

86 )
87
88 def _execute_with_wrappers(self, sql, params, many, executor):
89 context = {"connection": self.db, "cursor": self}
90 for wrapper in reversed(self.db.execute_wrappers):
91 executor = functools.partial(wrapper, executor)
92 return executor(sql, params, many, context)
93
94 def _execute(self, sql, params, *ignored_wrapper_args):
95 # Raise a warning during app initialization (stored_app_configs is only

Callers 2

executeMethod · 0.95
executemanyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected