Grant in sqlparser::ast - Rust

pub struct Grant {
    pub privileges: Privileges,
    pub objects: Option<GrantObjects>,
    pub grantees: Vec<Grantee>,
    pub with_grant_option: bool,
    pub as_grantor: Option<Ident>,
    pub granted_by: Option<Ident>,
    pub current_grants: Option<CurrentGrantsKind>,
}
Expand description

GRANT privileges ON objects TO grantees

Privileges being granted.

Optional objects the privileges apply to.

List of grantees receiving the privileges.

Whether WITH GRANT OPTION is present.

Optional AS GRANTOR identifier.

Optional GRANTED BY identifier.

BigQuery

§
§
§
§
§
§