rename_stmt.go 331 B

1234567891011121314151617181920
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type RenameStmt struct {
  6. RenameType ObjectType
  7. RelationType ObjectType
  8. Relation *RangeVar
  9. Object ast.Node
  10. Subname *string
  11. Newname *string
  12. Behavior DropBehavior
  13. MissingOk bool
  14. }
  15. func (n *RenameStmt) Pos() int {
  16. return 0
  17. }