coalesce_expr.go 268 B

1234567891011121314151617
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type CoalesceExpr struct {
  6. Xpr ast.Node
  7. Coalescetype Oid
  8. Coalescecollid Oid
  9. Args *ast.List
  10. Location int
  11. }
  12. func (n *CoalesceExpr) Pos() int {
  13. return n.Location
  14. }