index_elem.go 314 B

12345678910111213141516171819
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type IndexElem struct {
  6. Name *string
  7. Expr ast.Node
  8. Indexcolname *string
  9. Collation *ast.List
  10. Opclass *ast.List
  11. Ordering SortByDir
  12. NullsOrdering SortByNulls
  13. }
  14. func (n *IndexElem) Pos() int {
  15. return 0
  16. }