MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / drop_database

Method drop_database

misc/python/materialize/optbench/sql.py:114–116  ·  view source on GitHub ↗
(self, scenario: Scenario)

Source from the content-addressed store, hash-verified

112 return None
113
114 def drop_database(self, scenario: Scenario) -> None:
115 logging.debug(f'Drop database "{scenario}"')
116 self.execute(f"DROP DATABASE IF EXISTS {scenario}")
117
118 def create_database(self, scenario: Scenario) -> None:
119 logging.debug(f'Create database "{scenario}"')

Callers 1

initFunction · 0.80

Calls 2

executeMethod · 0.95
debugMethod · 0.80

Tested by

no test coverage detected