pub enum LimitExpr {
Literal(u32),
Placeholder(u16),
}Expand description
v7.9.24 — LIMIT / OFFSET value. Integer literal at parse
time or a placeholder $N resolved during extended-query
Bind. mailrs migration follow-up H2.
Variants§
Literal(u32)
LIMIT 10 — value known at parse time.
Placeholder(u16)
LIMIT $N — the 1-based parameter index, resolved against
the bind values when the prepared statement executes.
Implementations§
Trait Implementations§
impl Copy for LimitExpr
impl Eq for LimitExpr
impl StructuralPartialEq for LimitExpr
Auto Trait Implementations§
impl Freeze for LimitExpr
impl RefUnwindSafe for LimitExpr
impl Send for LimitExpr
impl Sync for LimitExpr
impl Unpin for LimitExpr
impl UnsafeUnpin for LimitExpr
impl UnwindSafe for LimitExpr
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