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

Function test_grouping_identifiers_with_operators

tests/test_grouping.py:244–246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242
243
244def test_grouping_identifiers_with_operators():
245 p = sqlparse.parse('a+b as c from table where (d-e)%2= 1')[0]
246 assert len([x for x in p.flatten() if x.ttype == T.Name]) == 5
247
248
249def test_grouping_identifier_list_with_order():

Callers

nothing calls this directly

Calls 1

flattenMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…