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
type Selector: SelectorTrait + Send + Sync
type Selector: SelectorTrait + Send + Sync
Select operation
Required Methods
fn 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