MCPcopy Create free account
hub / github.com/ExtendDB/extenddb / drop_tables

Function drop_tables

samples/sample_app.py:496–500  ·  view source on GitHub ↗

Delete all tables created by this sample.

(client)

Source from the content-addressed store, hash-verified

494# ---------------------------------------------------------------------------
495
496def drop_tables(client) -> None:
497 """Delete all tables created by this sample."""
498 section("Step 9: Drop Tables (DeleteTable)")
499 for name in [USERS_TABLE, ORDERS_TABLE, TOURNAMENT_TABLE]:
500 delete_table_safe(client, name)
501# ---------------------------------------------------------------------------
502# Main
503# ---------------------------------------------------------------------------

Callers 1

mainFunction · 0.85

Calls 2

sectionFunction · 0.85
delete_table_safeFunction · 0.85

Tested by

no test coverage detected