pub struct Offset {
pub count: Option<Expr>,
pub rows: Option<RowsKeyword>,
}Expand description
OFFSET n [ ROW | ROWS ]
Like Limit the count is an expression: SQLite accepts one, and
every dialect accepts a bound argument.
The trailing keyword is the SQL-standard spelling and PostgreSQL accepts it;
None writes the bare historical OFFSET n, which every dialect takes.
Fields§
§count: Option<Expr>How many rows to skip.
rows: Option<RowsKeyword>The optional trailing ROW/ROWS. None writes neither.
Implementations§
Trait Implementations§
Source§impl Expression for Offset
impl Expression for Offset
Auto Trait Implementations§
impl !RefUnwindSafe for Offset
impl !UnwindSafe for Offset
impl Freeze for Offset
impl Send for Offset
impl Sync for Offset
impl Unpin for Offset
impl UnsafeUnpin for Offset
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