pub struct Delete {
pub with: Option<With>,
pub tbl_name: QualifiedName,
pub indexed: Option<Indexed>,
pub where_clause: Option<Box<Expr>>,
pub returning: Option<Vec<ResultColumn>>,
pub order_by: Option<Vec<SortedColumn>>,
pub limit: Option<Box<Limit>>,
}Expand description
DELETE
Fields§
§with: Option<With>CTE
tbl_name: QualifiedNameFROM table name
indexed: Option<Indexed>INDEXED
where_clause: Option<Box<Expr>>WHERE clause
returning: Option<Vec<ResultColumn>>RETURNING
order_by: Option<Vec<SortedColumn>>ORDER BY
limit: Option<Box<Limit>>LIMIT
Trait Implementations§
Source§impl ToSqlString for Delete
impl ToSqlString for Delete
Source§fn to_sql_string<C: ToSqlContext>(&self, context: &C) -> String
fn to_sql_string<C: ToSqlContext>(&self, context: &C) -> String
Convert the given value to String
impl Eq for Delete
impl StructuralPartialEq for Delete
Auto Trait Implementations§
impl Freeze for Delete
impl RefUnwindSafe for Delete
impl Send for Delete
impl Sync for Delete
impl Unpin for Delete
impl UnwindSafe for Delete
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.