coerce_via_io.go 282 B

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