AlterSchemaOperation in sqlparser::ast - Rust

Enum AlterSchemaOperation 

Source

pub enum AlterSchemaOperation {
    SetDefaultCollate {
        collate: Expr,
    },
    AddReplica {
        replica: Ident,
        options: Option<Vec<SqlOption>>,
    },
    DropReplica {
        replica: Ident,
    },
    SetOptionsParens {
        options: Vec<SqlOption>,
    },
    Rename {
        name: ObjectName,
    },
    OwnerTo {
        owner: Owner,
    },
}
Expand description
§

Set the default collation for the schema.

Fields

The collation to set as default.

§

Add a replica to the schema.

Fields

Optional options for the replica.

§

Drop a replica from the schema.

Fields

§

Set options for the schema.

Fields

§

Rename the schema.

Fields

The new name for the schema.

§

Change the owner of the schema.

Fields

The new owner of the schema.

§
§
§
§
§
§