MCPcopy
hub / github.com/django/django / compiler

Method compiler

django/db/backends/base/operations.py:403–411  ·  view source on GitHub ↗

Return the SQLCompiler class corresponding to the given name, in the namespace corresponding to the `compiler_module` attribute on this backend.

(self, compiler_name)

Source from the content-addressed store, hash-verified

401 return cursor.fetchall()
402
403 def compiler(self, compiler_name):
404 """
405 Return the SQLCompiler class corresponding to the given name,
406 in the namespace corresponding to the `compiler_module` attribute
407 on this backend.
408 """
409 if self._cache is None:
410 self._cache = import_module(self.compiler_module)
411 return getattr(self._cache, compiler_name)
412
413 def quote_name(self, name):
414 """

Callers 3

__iter__Method · 0.80
get_compilerMethod · 0.80
generated_sqlMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected