MCPcopy Index your code
hub / github.com/dbcli/mycli / test_extract_columns_from_select

Function test_extract_columns_from_select

test/pytests/test_sql_utils.py:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33
34def test_extract_columns_from_select():
35 columns = extract_columns_from_select('SELECT COLUMN_NAME, DATA_TYPE, IS_NULLABLE, COLUMN_DEFAULT FROM INFORMATION_SCHEMA.COLUMNS')
36 assert columns == ['COLUMN_NAME', 'DATA_TYPE', 'IS_NULLABLE', 'COLUMN_DEFAULT']
37
38
39def test_extract_columns_from_select_empty():

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected