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

Function test_parse_function_parameter

tests/test_parse.py:117–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115
116
117def test_parse_function_parameter():
118 # see issue94
119 t = sqlparse.parse('abs(some_col)')[0].tokens[0].get_parameters()
120 assert len(t) == 1
121 assert isinstance(t[0], sql.Identifier)
122
123
124def test_parse_function_param_single_literal():

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…