pub struct DeleteStmt {
pub only: bool,
pub targets: Vec<Spanned<Expr>>,
pub where_clause: Option<Spanned<Expr>>,
pub ret: Option<Spanned<ReturnMode>>,
}Expand description
DELETE — removes rows.
Fields§
§only: boolDELETE ONLY person:one — single object result, not an array.
targets: Vec<Spanned<Expr>>The tables or record ids to delete from.
where_clause: Option<Spanned<Expr>>WHERE <expr> filter selecting which rows to delete.
ret: Option<Spanned<ReturnMode>>RETURN mode, if specified.
Trait Implementations§
Source§impl Clone for DeleteStmt
impl Clone for DeleteStmt
Source§fn clone(&self) -> DeleteStmt
fn clone(&self) -> DeleteStmt
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 DeleteStmt
impl Debug for DeleteStmt
Source§impl PartialEq for DeleteStmt
impl PartialEq for DeleteStmt
impl StructuralPartialEq for DeleteStmt
Auto Trait Implementations§
impl Freeze for DeleteStmt
impl RefUnwindSafe for DeleteStmt
impl Send for DeleteStmt
impl Sync for DeleteStmt
impl Unpin for DeleteStmt
impl UnsafeUnpin for DeleteStmt
impl UnwindSafe for DeleteStmt
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