MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / cursor_by

Method cursor_by

src/executor/cursor.rs:393–398  ·  view source on GitHub ↗

Convert into a cursor

(self, order_columns: C)

Source from the content-addressed store, hash-verified

391{
392 /// Convert into a cursor
393 pub fn cursor_by<C>(self, order_columns: C) -> Cursor<SelectModel<M>>
394 where
395 C: IntoIdentity,
396 {
397 Cursor::new(self.query, SeaRc::new(E::default()), order_columns)
398 }
399}
400
401impl<E, F, M, N> CursorTrait for SelectTwo<E, F>

Callers 1

cursor_paginationFunction · 0.80

Calls 3

identity_ofMethod · 0.80
newFunction · 0.50

Tested by 1

cursor_paginationFunction · 0.64