array_expr.go 296 B

12345678910111213141516171819
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type ArrayExpr struct {
  6. Xpr ast.Node
  7. ArrayTypeid Oid
  8. ArrayCollid Oid
  9. ElementTypeid Oid
  10. Elements *ast.List
  11. Multidims bool
  12. Location int
  13. }
  14. func (n *ArrayExpr) Pos() int {
  15. return n.Location
  16. }