Trait sea_orm::CursorTrait

source ·
pub trait CursorTrait {
    type Selector: SelectorTrait + Send + Sync;

    // Required method
    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§

source

type Selector: SelectorTrait + Send + Sync

Select operation

Required Methods§

source

fn cursor_by<C>(self, order_columns: C) -> Cursor<Self::Selector>where C: IntoIdentity,

Convert current type into a cursor

Implementors§

source§

impl<E, M> CursorTrait for Select<E>where E: EntityTrait<Model = M>, M: FromQueryResult + Sized + Send + Sync,