MCPcopy
hub / github.com/django/django / quote_name

Method quote_name

django/db/backends/sqlite3/operations.py:173–176  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

171 return sql
172
173 def quote_name(self, name):
174 if name.startswith('"') and name.endswith('"'):
175 return name # Quoting once is enough.
176 return '"%s"' % name
177
178 def no_limit_value(self):
179 return -1

Callers 10

sql_flushMethod · 0.95
_remake_tableMethod · 0.45
delete_modelMethod · 0.45
_alter_many_to_manyMethod · 0.45
check_constraintsMethod · 0.45
get_table_descriptionMethod · 0.45
get_relationsMethod · 0.45
get_constraintsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected