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

Struct UpdateStatement

pkg/sql/ast/ast.go:1343–1352  ·  view source on GitHub ↗

UpdateStatement represents an UPDATE SQL statement

Source from the content-addressed store, hash-verified

1341
1342// UpdateStatement represents an UPDATE SQL statement
1343type UpdateStatement struct {
1344 With *WithClause
1345 TableName string
1346 Alias string
1347 Assignments []UpdateExpression // SET clause assignments
1348 From []TableReference
1349 Where Expression
1350 Returning []Expression
1351 Pos models.Location // Source position of the UPDATE keyword (1-based line and column)
1352}
1353
1354// GetUpdates returns Assignments for backward compatibility.
1355//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected