MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / DeleteStatement

Struct DeleteStatement

pkg/sql/ast/ast.go:1538–1546  ·  view source on GitHub ↗

DeleteStatement represents a DELETE SQL statement

Source from the content-addressed store, hash-verified

1536
1537// DeleteStatement represents a DELETE SQL statement
1538type DeleteStatement struct {
1539 With *WithClause
1540 TableName string
1541 Alias string
1542 Using []TableReference
1543 Where Expression
1544 Returning []Expression
1545 Pos models.Location // Source position of the DELETE keyword (1-based line and column)
1546}
1547
1548func (d *DeleteStatement) statementNode() {}
1549func (d DeleteStatement) TokenLiteral() string { return "DELETE" }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected