pub enum LimitFetchStyle {
Limit,
Top,
FetchFirst,
}Expand description
Strategy for generating row-limiting clauses across SQL dialects.
Variants§
Limit
LIMIT n – MySQL, PostgreSQL, DuckDB, and most modern dialects.
Top
TOP n – TSQL (SQL Server).
FetchFirst
FETCH FIRST n ROWS ONLY – ISO/ANSI SQL standard, Oracle, DB2.
Trait Implementations§
Source§impl Clone for LimitFetchStyle
impl Clone for LimitFetchStyle
Source§fn clone(&self) -> LimitFetchStyle
fn clone(&self) -> LimitFetchStyle
Returns a duplicate of the value. Read more
1.0.0 · 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 LimitFetchStyle
impl Debug for LimitFetchStyle
Source§impl Default for LimitFetchStyle
impl Default for LimitFetchStyle
Source§fn default() -> LimitFetchStyle
fn default() -> LimitFetchStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for LimitFetchStyle
impl PartialEq for LimitFetchStyle
impl Copy for LimitFetchStyle
impl StructuralPartialEq for LimitFetchStyle
Auto Trait Implementations§
impl Freeze for LimitFetchStyle
impl RefUnwindSafe for LimitFetchStyle
impl Send for LimitFetchStyle
impl Sync for LimitFetchStyle
impl Unpin for LimitFetchStyle
impl UnwindSafe for LimitFetchStyle
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