MCPcopy
hub / github.com/django/django / normalize_name

Method normalize_name

django/db/backends/oracle/schema.py:186–194  ·  view source on GitHub ↗

Get the properly shortened and uppercased identifier as returned by quote_name() but without the quotes.

(self, name)

Source from the content-addressed store, hash-verified

184 )
185
186 def normalize_name(self, name):
187 """
188 Get the properly shortened and uppercased identifier as returned by
189 quote_name() but without the quotes.
190 """
191 nn = self.quote_name(name)
192 if nn[0] == '"' and nn[-1] == '"':
193 nn = nn[1:-1]
194 return nn
195
196 def _generate_temp_name(self, for_name):
197 """Generate temporary names for workarounds that need temp columns."""

Callers 3

_generate_temp_nameMethod · 0.95
_is_identity_columnMethod · 0.95

Calls 1

quote_nameMethod · 0.45

Tested by

no test coverage detected