create_policy_stmt.go 299 B

12345678910111213141516171819
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type CreatePolicyStmt struct {
  6. PolicyName *string
  7. Table *RangeVar
  8. CmdName *string
  9. Permissive bool
  10. Roles *ast.List
  11. Qual ast.Node
  12. WithCheck ast.Node
  13. }
  14. func (n *CreatePolicyStmt) Pos() int {
  15. return 0
  16. }