rule_stmt.go 286 B

12345678910111213141516171819
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type RuleStmt struct {
  6. Relation *RangeVar
  7. Rulename *string
  8. WhereClause ast.Node
  9. Event CmdType
  10. Instead bool
  11. Actions *ast.List
  12. Replace bool
  13. }
  14. func (n *RuleStmt) Pos() int {
  15. return 0
  16. }