AlterRoleOperation in sqlparser::ast - Rust

Enum AlterRoleOperation 

Source

pub enum AlterRoleOperation {
    RenameRole {
        role_name: Ident,
    },
    AddMember {
        member_name: Ident,
    },
    DropMember {
        member_name: Ident,
    },
    WithOptions {
        options: Vec<RoleOption>,
    },
    Set {
        config_name: ObjectName,
        config_value: SetConfigValue,
        in_database: Option<ObjectName>,
    },
    Reset {
        config_name: ResetConfig,
        in_database: Option<ObjectName>,
    },
}
Expand description

An ALTER ROLE (Statement::AlterRole) operation

§

Generic

Fields

§

Fields

Member name to add to the role.

§

Fields

Member name to remove from the role.

§

Fields

§

Fields

Configuration name to set.

Value to assign to the configuration.

Optional database scope for the setting.

§

Fields

Optional database scope for the reset.

§
§
§
§
§
§