Struct cql3_parser::delete::Delete
source · [−]pub struct Delete {
pub begin_batch: Option<BeginBatch>,
pub columns: Vec<IndexedColumn>,
pub table_name: FQName,
pub timestamp: Option<u64>,
pub where_clause: Vec<RelationElement>,
pub if_clause: Vec<RelationElement>,
pub if_exists: bool,
}Expand description
the data for a delete statement.
Fields
begin_batch: Option<BeginBatch>if set the statement starts with BEGIN BATCH
columns: Vec<IndexedColumn>an optional list of columns to delete
table_name: FQNamethe table to delete from
timestamp: Option<u64>an optional timestamp to use for the deletion.
where_clause: Vec<RelationElement>the were clause for the delete.
if_clause: Vec<RelationElement>if present a list of key,values for the IF clause
if_exists: boolif true and if_clause is NONE then IF EXISTS is added
Trait Implementations
impl StructuralPartialEq for Delete
Auto Trait Implementations
impl RefUnwindSafe for Delete
impl Send for Delete
impl Sync for Delete
impl Unpin for Delete
impl UnwindSafe for Delete
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more