MCPcopy Index your code
hub / github.com/andialbrecht/sqlparse / test_parse_nested_function

Function test_parse_nested_function

tests/test_parse.py:130–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128
129
130def test_parse_nested_function():
131 t = sqlparse.parse('foo(bar(5))')[0].tokens[0].get_parameters()
132 assert len(t) == 1
133 assert type(t[0]) is sql.Function
134
135
136def test_parse_casted_params():

Callers

nothing calls this directly

Calls 1

get_parametersMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…