Enum rustdb::run::DO [−][src]
#[non_exhaustive]
pub enum DO {
CreateTable(ColInfo),
CreateIndex(IndexInfo),
CreateSchema(String),
CreateFunction(ObjRef, Rc<String>, bool),
AlterTable(ObjRef, Vec<AlterCol>),
DropSchema(String),
DropTable(ObjRef),
DropIndex(ObjRef, String),
DropFunction(ObjRef),
Insert(Rc<Table>, Vec<usize>, CTableExpression),
Update(Vec<(usize, CExpPtr<Value>)>, CTableExpression, Option<CExpPtr<bool>>),
Delete(CTableExpression, Option<CExpPtr<bool>>),
}
Expand description
Database Operation
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CreateTable(ColInfo)
Tuple Fields
0: ColInfo
CreateIndex(IndexInfo)
Tuple Fields
0: IndexInfo
CreateSchema(String)
Tuple Fields
0: String
CreateFunction(ObjRef, Rc<String>, bool)
AlterTable(ObjRef, Vec<AlterCol>)
DropSchema(String)
Tuple Fields
0: String
DropTable(ObjRef)
Tuple Fields
0: ObjRef
DropIndex(ObjRef, String)
DropFunction(ObjRef)
Tuple Fields
0: ObjRef