pub enum DeleteMode {
Lightweight,
Mutation,
}Expand description
Which DELETE form Builder::delete emits.
PHP: the ClickHouse::DELETE_MODE_* constants.
Variants§
Lightweight
DELETE FROM t WHERE ...: rows are masked as deleted (the default).
PHP: ClickHouse::DELETE_MODE_LIGHTWEIGHT ('lightweight').
Mutation
ALTER TABLE t DELETE WHERE ...: parts are rewritten on disk.
PHP: ClickHouse::DELETE_MODE_MUTATION ('mutation').
Implementations§
Trait Implementations§
Source§impl Clone for DeleteMode
impl Clone for DeleteMode
impl Copy for DeleteMode
Source§impl Debug for DeleteMode
impl Debug for DeleteMode
Source§impl Default for DeleteMode
impl Default for DeleteMode
impl Eq for DeleteMode
Source§impl Hash for DeleteMode
impl Hash for DeleteMode
Source§impl PartialEq for DeleteMode
impl PartialEq for DeleteMode
impl StructuralPartialEq for DeleteMode
Auto Trait Implementations§
impl Forget for DeleteMode
impl Freeze for DeleteMode
impl Move for DeleteMode
impl RefUnwindSafe for DeleteMode
impl Send for DeleteMode
impl Sync for DeleteMode
impl Unpin for DeleteMode
impl UnsafeUnpin for DeleteMode
impl UnwindSafe for DeleteMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.