-
- All Superinterfaces:
QueryPart
,Serializable
public interface Privilege extends QueryPart
A privilege for use inGRANT
andREVOKE
statements.Example:
// Assuming import static org.jooq.impl.DSL.*; using(configuration) .grant(privilege("SELECT")) .on(ACTOR) .to(user("MY_USER")) .execute();
Instances can be created using
DSL.privilege(String)
and overloads.- Author:
- Timur Shaidullin