pub struct DeleteStatement { /* private fields */ }Expand description
Implementations§
Source§impl DeleteStatement
impl DeleteStatement
Sourcepub fn take(&mut self) -> Self
pub fn take(&mut self) -> Self
Take the ownership of data in the current DeleteStatement
Sourcepub fn from_table<T>(&mut self, tbl: T) -> &mut Selfwhere
T: IntoTableRef,
pub fn from_table<T>(&mut self, tbl: T) -> &mut Selfwhere
T: IntoTableRef,
Sourcepub fn and_where<C>(&mut self, condition: C) -> &mut Selfwhere
C: IntoCondition,
pub fn and_where<C>(&mut self, condition: C) -> &mut Selfwhere
C: IntoCondition,
Sourcepub fn cond_where(&mut self, condition: Condition) -> &mut Self
pub fn cond_where(&mut self, condition: Condition) -> &mut Self
Sourcepub fn returning<I, C>(&mut self, cols: I) -> &mut Selfwhere
I: IntoIterator<Item = C>,
C: IntoColumnRef,
pub fn returning<I, C>(&mut self, cols: I) -> &mut Selfwhere
I: IntoIterator<Item = C>,
C: IntoColumnRef,
Sourcepub fn returning_all(&mut self) -> &mut Self
pub fn returning_all(&mut self) -> &mut Self
Trait Implementations§
Source§impl Clone for DeleteStatement
impl Clone for DeleteStatement
Source§fn clone(&self) -> DeleteStatement
fn clone(&self) -> DeleteStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeleteStatement
impl Debug for DeleteStatement
Source§impl Default for DeleteStatement
impl Default for DeleteStatement
Source§impl QueryStatementBuilder for DeleteStatement
impl QueryStatementBuilder for DeleteStatement
Source§fn build_any(&self, query_builder: &dyn QueryBuilderTrait) -> (String, Values)
fn build_any(&self, query_builder: &dyn QueryBuilderTrait) -> (String, Values)
Build SQL statement for a database backend and collect query parameters Read more
impl QueryStatementWriter for DeleteStatement
Auto Trait Implementations§
impl Freeze for DeleteStatement
impl !RefUnwindSafe for DeleteStatement
impl !Send for DeleteStatement
impl !Sync for DeleteStatement
impl Unpin for DeleteStatement
impl UnsafeUnpin for DeleteStatement
impl !UnwindSafe for DeleteStatement
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