MCPcopy
hub / github.com/django/django / compile

Method compile

django/db/models/sql/compiler.py:573–579  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

571 return self.quote_name(name)
572
573 def compile(self, node):
574 vendor_impl = getattr(node, "as_" + self.connection.vendor, None)
575 if vendor_impl:
576 sql, params = vendor_impl(self, self.connection)
577 else:
578 sql, params = node.as_sql(self, self.connection)
579 return sql, params
580
581 def get_combinator_sql(self, combinator, all):
582 features = self.connection.features

Callers 15

get_group_byMethod · 0.95
get_selectMethod · 0.95
get_order_byMethod · 0.95
get_qualify_sqlMethod · 0.95
as_sqlMethod · 0.95
get_distinctMethod · 0.95
get_from_clauseMethod · 0.95
__init__Method · 0.45
_clean_credentialsFunction · 0.45
as_sqlMethod · 0.45
as_sqlMethod · 0.45

Calls 1

as_sqlMethod · 0.45

Tested by

no test coverage detected