()
| 277 | |
| 278 | |
| 279 | def test_schema_qualified_array_index(): |
| 280 | p = sqlparse.parse('schem.col[1]')[0].tokens |
| 281 | assert len(p) == 1 |
| 282 | assert p[0].get_parent_name() == 'schem' |
| 283 | assert p[0].get_name() == 'col' |
| 284 | assert list(p[0].get_array_indices())[0][0].value == '1' |
| 285 | |
| 286 | |
| 287 | def test_aliased_array_index(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…