dropTable - Drop table with given name
(dropCommand *ast.DropCommand)
| 402 | |
| 403 | // dropTable - Drop table with given name |
| 404 | func (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 |
| 409 | func (engine *DbEngine) selectFromTableWithWhere(selectCommand *ast.SelectCommand, whereCommand *ast.WhereCommand, table *Table) (*Table, error) { |