MCPcopy
hub / github.com/django/django / do_query

Method do_query

django/db/models/sql/subqueries.py:22–25  ·  view source on GitHub ↗
(self, table, where, using)

Source from the content-addressed store, hash-verified

20 compiler = "SQLDeleteCompiler"
21
22 def do_query(self, table, where, using):
23 self.alias_map = {table: self.alias_map[table]}
24 self.where = where
25 return self.get_compiler(using).execute_sql(ROW_COUNT)
26
27 def delete_batch(self, pk_list, using):
28 """

Callers 1

delete_batchMethod · 0.95

Calls 2

get_compilerMethod · 0.80
execute_sqlMethod · 0.45

Tested by

no test coverage detected