infer_clause.go 238 B

12345678910111213141516
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type InferClause struct {
  6. IndexElems *ast.List
  7. WhereClause ast.Node
  8. Conname *string
  9. Location int
  10. }
  11. func (n *InferClause) Pos() int {
  12. return n.Location
  13. }