create_stmt.go 443 B

1234567891011121314151617181920212223
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type CreateStmt struct {
  6. Relation *RangeVar
  7. TableElts *ast.List
  8. InhRelations *ast.List
  9. Partbound *PartitionBoundSpec
  10. Partspec *PartitionSpec
  11. OfTypename *TypeName
  12. Constraints *ast.List
  13. Options *ast.List
  14. Oncommit OnCommitAction
  15. Tablespacename *string
  16. IfNotExists bool
  17. }
  18. func (n *CreateStmt) Pos() int {
  19. return 0
  20. }