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

Function test_is_destructive

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

Source from the content-addressed store, hash-verified

442
443
444def test_is_destructive():
445 sql = "use test;\nshow databases;\ndrop database foo;"
446 assert is_destructive(["drop"], sql) is True
447
448
449def test_is_destructive_update_with_where_clause():

Callers

nothing calls this directly

Calls 1

is_destructiveFunction · 0.90

Tested by

no test coverage detected