MCPcopy Index your code
hub / github.com/LissaGreense/GO4SQL / dropTable

Method dropTable

engine/engine.go:404–406  ·  view source on GitHub ↗

dropTable - Drop table with given name

(dropCommand *ast.DropCommand)

Source from the content-addressed store, hash-verified

402
403// dropTable - Drop table with given name
404func (engine *DbEngine) dropTable(dropCommand *ast.DropCommand) {
405 delete(engine.Tables, dropCommand.Name.GetToken().Literal)
406}
407
408// selectFromTableWithWhere - Return Table containing all values requested by SelectCommand and filtered by WhereCommand
409func (engine *DbEngine) selectFromTableWithWhere(selectCommand *ast.SelectCommand, whereCommand *ast.WhereCommand, table *Table) (*Table, error) {

Callers 1

EvaluateMethod · 0.95

Calls 1

GetTokenMethod · 0.65

Tested by

no test coverage detected