pub async fn fetch_offset_page<C, Entity, Error>(
db: &C,
query: Select<Entity>,
limit: u64,
offset: u64,
) -> Result<(Vec<Entity::Model>, u64), Error>Expand description
Fetches an offset page and total count from a SeaORM select query.