field_select.go 273 B

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