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

Method fetch

src/executor/paginator.rs:63–65  ·  view source on GitHub ↗

Fetch the current page

(&self)

Source from the content-addressed store, hash-verified

61
62 /// Fetch the current page
63 pub async fn fetch(&self) -> Result<Vec<S::Item>, DbErr> {
64 self.fetch_page(self.page).await
65 }
66
67 /// Get the total number of items
68 pub async fn num_items(&self) -> Result<u64, DbErr> {

Callers 1

fetch_and_nextMethod · 0.45

Calls 1

fetch_pageMethod · 0.80

Tested by

no test coverage detected