on_conflict_clause.go 283 B

1234567891011121314151617
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type OnConflictClause struct {
  6. Action OnConflictAction
  7. Infer *InferClause
  8. TargetList *ast.List
  9. WhereClause ast.Node
  10. Location int
  11. }
  12. func (n *OnConflictClause) Pos() int {
  13. return n.Location
  14. }