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

Function test_parse_casted_params

tests/test_parse.py:136–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134
135
136def test_parse_casted_params():
137 t = sqlparse.parse("foo(DATE '2023-11-14', TIMESTAMP '2023-11-15')")[0].tokens[0].get_parameters()
138 assert len(t) == 2
139
140
141def test_parse_div_operator():

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…