pub struct DmlOrderLimit {
pub order_by: Vec<OrderBy>,
pub limit: Option<u32>,
}Expand description
UPDATE <table> SET col = expr [, ...] [WHERE cond]. v4.4 — the
engine evaluates expr per matched row in the table’s row order
and rewrites cells in place. Indexed columns are dropped + re-
inserted into the affected B-tree on each row change.
v7.39 (round 413) — the boxed payload for MySQL’s ORDER BY [LIMIT]
tail on a DML statement. Boxed off the statement struct so the PG-only
common path stays at its pre-r413 size (see the round-305 nesting-stack
lesson). v7.39 (round 431+1) — DELETE carries the identical clause with
the identical meaning, so both share this one payload rather than each
growing its own.
Fields§
§order_by: Vec<OrderBy>§limit: Option<u32>Trait Implementations§
Source§impl Clone for DmlOrderLimit
impl Clone for DmlOrderLimit
Source§fn clone(&self) -> DmlOrderLimit
fn clone(&self) -> DmlOrderLimit
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 DmlOrderLimit
impl Debug for DmlOrderLimit
Source§impl PartialEq for DmlOrderLimit
impl PartialEq for DmlOrderLimit
impl StructuralPartialEq for DmlOrderLimit
Auto Trait Implementations§
impl Freeze for DmlOrderLimit
impl RefUnwindSafe for DmlOrderLimit
impl Send for DmlOrderLimit
impl Sync for DmlOrderLimit
impl Unpin for DmlOrderLimit
impl UnsafeUnpin for DmlOrderLimit
impl UnwindSafe for DmlOrderLimit
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