#[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)
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>>)
Auto Trait Implementations§
impl !RefUnwindSafe for DO
impl !Send for DO
impl !Sync for DO
impl Unpin for DO
impl !UnwindSafe for DO
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more