array_ref.go 358 B

123456789101112131415161718192021
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type ArrayRef struct {
  6. Xpr ast.Node
  7. Refarraytype Oid
  8. Refelemtype Oid
  9. Reftypmod int32
  10. Refcollid Oid
  11. Refupperindexpr *ast.List
  12. Reflowerindexpr *ast.List
  13. Refexpr ast.Node
  14. Refassgnexpr ast.Node
  15. }
  16. func (n *ArrayRef) Pos() int {
  17. return 0
  18. }