MCPcopy Create free account
hub / github.com/outerbase/studio / dropTable

Function dropTable

src/drivers/common-sql-imp.ts:189–193  ·  view source on GitHub ↗
(schemaName: string, tableName: string)

Source from the content-addressed store, hash-verified

187 }
188
189 async dropTable(schemaName: string, tableName: string): Promise<void> {
190 await this.query(
191 `DROP TABLE ${this.escapeId(schemaName)}.${this.escapeId(tableName)};`
192 );
193 }
194
195 async emptyTable(schemaName: string, tableName: string): Promise<void> {
196 await this.query(

Callers

nothing calls this directly

Calls 2

queryMethod · 0.65
escapeIdMethod · 0.45

Tested by

no test coverage detected