MCPcopy
hub / github.com/django/django / references_table

Method references_table

django/db/backends/ddl_references.py:207–211  ·  view source on GitHub ↗
(self, table)

Source from the content-addressed store, hash-verified

205 self.parts = parts
206
207 def references_table(self, table):
208 return any(
209 hasattr(part, "references_table") and part.references_table(table)
210 for part in self.parts.values()
211 )
212
213 def references_column(self, table, column):
214 return any(

Callers 1

test_references_tableMethod · 0.95

Calls 2

references_tableMethod · 0.45
valuesMethod · 0.45

Tested by 1

test_references_tableMethod · 0.76