grant_role_stmt.go 287 B

123456789101112131415161718
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type GrantRoleStmt struct {
  6. GrantedRoles *ast.List
  7. GranteeRoles *ast.List
  8. IsGrant bool
  9. AdminOpt bool
  10. Grantor *RoleSpec
  11. Behavior DropBehavior
  12. }
  13. func (n *GrantRoleStmt) Pos() int {
  14. return 0
  15. }