MCPcopy
hub / github.com/andialbrecht/sqlparse / get_alias

Method get_alias

sqlparse/sql.py:359–361  ·  view source on GitHub ↗

Returns the alias for this identifier or ``None``.

(self)

Source from the content-addressed store, hash-verified

357 return self.get_alias() is not None
358
359 def get_alias(self):
360 """Returns the alias for this identifier or ``None``."""
361 return None
362
363 def get_name(self):
364 """Returns the name of this identifier.

Callers 15

has_aliasMethod · 0.95
get_nameMethod · 0.95
test_grouping_aliasFunction · 0.45
test_grouping_alias_caseFunction · 0.45
test_grouping_alias_ctasFunction · 0.45
test_grouping_as_cteFunction · 0.45
test_parse_div_operatorFunction · 0.45

Calls

no outgoing calls

Tested by 13

test_grouping_aliasFunction · 0.36
test_grouping_alias_caseFunction · 0.36
test_grouping_alias_ctasFunction · 0.36
test_grouping_as_cteFunction · 0.36
test_parse_div_operatorFunction · 0.36
test_aliased_array_indexFunction · 0.36
test_get_real_nameFunction · 0.36