update_stmt.go 295 B

123456789101112131415161718
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type UpdateStmt struct {
  6. Relation *RangeVar
  7. TargetList *ast.List
  8. WhereClause ast.Node
  9. FromClause *ast.List
  10. ReturningList *ast.List
  11. WithClause *WithClause
  12. }
  13. func (n *UpdateStmt) Pos() int {
  14. return 0
  15. }