array_coerce_expr.go 347 B

123456789101112131415161718192021
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type ArrayCoerceExpr struct {
  6. Xpr ast.Node
  7. Arg ast.Node
  8. Elemfuncid Oid
  9. Resulttype Oid
  10. Resulttypmod int32
  11. Resultcollid Oid
  12. IsExplicit bool
  13. Coerceformat CoercionForm
  14. Location int
  15. }
  16. func (n *ArrayCoerceExpr) Pos() int {
  17. return n.Location
  18. }