MCPcopy Create free account
hub / github.com/LissaGreense/GO4SQL / DeleteCommand

Struct DeleteCommand

ast/ast.go:357–361  ·  view source on GitHub ↗

DeleteCommand - Part of Command that represent deleting row from table Example: DELETE FROM tb1 WHERE two EQUAL 3;

Source from the content-addressed store, hash-verified

355// Example:
356// DELETE FROM tb1 WHERE two EQUAL 3;
357type DeleteCommand struct {
358 Token token.Token
359 Name Identifier // name of the table
360 WhereCommand *WhereCommand // optional
361}
362
363func (ls DeleteCommand) CommandNode() {}
364func (ls DeleteCommand) TokenLiteral() string { return ls.Token.Literal }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected