-
public interface GrantToStep
The step in the creation of aGRANT
statement where theTO
clause can be added.- Author:
- Timur Shaidullin, Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GrantWithGrantOptionStep
to(Role role)
Grant a privilege to a role.GrantWithGrantOptionStep
to(User user)
Grant a privilege to a user.GrantWithGrantOptionStep
toPublic()
Grant a privilege toPUBLIC
.
-
-
-
Method Detail
-
to
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER}) GrantWithGrantOptionStep to(User user)
Grant a privilege to a user.
-
to
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER}) GrantWithGrantOptionStep to(Role role)
Grant a privilege to a role.
-
toPublic
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER}) GrantWithGrantOptionStep toPublic()
Grant a privilege toPUBLIC
.
-
-