MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_use_labels

Method test_use_labels

test/sql/test_functions.py:135–139  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

133 )
134
135 def test_use_labels(self):
136 self.assert_compile(
137 select(func.foo()).set_label_style(LABEL_STYLE_TABLENAME_PLUS_COL),
138 "SELECT foo() AS foo_1",
139 )
140
141 def test_use_labels_function_element(self):
142 class max_(FunctionElement):

Callers

nothing calls this directly

Calls 4

selectFunction · 0.90
assert_compileMethod · 0.80
set_label_styleMethod · 0.45
fooMethod · 0.45

Tested by

no test coverage detected