index_stmt.go 575 B

12345678910111213141516171819202122232425262728293031
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type IndexStmt struct {
  6. Idxname *string
  7. Relation *RangeVar
  8. AccessMethod *string
  9. TableSpace *string
  10. IndexParams *ast.List
  11. Options *ast.List
  12. WhereClause ast.Node
  13. ExcludeOpNames *ast.List
  14. Idxcomment *string
  15. IndexOid Oid
  16. OldNode Oid
  17. Unique bool
  18. Primary bool
  19. Isconstraint bool
  20. Deferrable bool
  21. Initdeferred bool
  22. Transformed bool
  23. Concurrent bool
  24. IfNotExists bool
  25. }
  26. func (n *IndexStmt) Pos() int {
  27. return 0
  28. }