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

Method all

src/executor/select.rs:451–456  ·  view source on GitHub ↗

Get all Models from the SELECT query

(self, db: &C)

Source from the content-addressed store, hash-verified

449
450 /// Get all Models from the SELECT query
451 pub async fn all<C>(self, db: &C) -> Result<Vec<E::Model>, DbErr>
452 where
453 C: ConnectionTrait,
454 {
455 self.into_model().all(db).await
456 }
457
458 /// Stream the results of a SELECT operation on a Model
459 pub async fn stream<'a: 'b, 'b, C>(

Callers 15

must_be_valid_idenFunction · 0.45
test_transaction_1Function · 0.45
select_rowsFunction · 0.45
load_oneMethod · 0.45
load_manyMethod · 0.45
load_many_to_manyMethod · 0.45
partial_model_join_threeFunction · 0.45

Calls 6

into_selector_rawMethod · 0.80
into_iterMethod · 0.80
pushMethod · 0.80
newFunction · 0.50
into_modelMethod · 0.45
query_allMethod · 0.45

Tested by 15

test_transaction_1Function · 0.36
partial_model_join_threeFunction · 0.36
create_and_delete_applogFunction · 0.36
loader_load_oneFunction · 0.36
loader_load_manyFunction · 0.36
loader_load_many_multiFunction · 0.36
loader_load_many_to_manyFunction · 0.36
transactionFunction · 0.36