Trait sea_orm::CursorTrait
source · pub trait CursorTrait {
type Selector: SelectorTrait + Send + Sync;
fn cursor_by<C>(self, order_columns: C) -> Cursor<Self::Selector>
where
C: IntoIdentity;
}
Expand description
A trait for any type that can be turn into a cursor
Required Associated Types
sourcetype Selector: SelectorTrait + Send + Sync
type Selector: SelectorTrait + Send + Sync
Select operation
Required Methods
sourcefn cursor_by<C>(self, order_columns: C) -> Cursor<Self::Selector>where
C: IntoIdentity,
fn cursor_by<C>(self, order_columns: C) -> Cursor<Self::Selector>where
C: IntoIdentity,
Convert current type into a cursor