coerce_to_domain.go 322 B

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