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

Method stream

src/executor/select.rs:459–467  ·  view source on GitHub ↗

Stream the results of a SELECT operation on a Model

(
        self,
        db: &'a C,
    )

Source from the content-addressed store, hash-verified

457
458 /// Stream the results of a SELECT operation on a Model
459 pub async fn stream<'a: 'b, 'b, C>(
460 self,
461 db: &'a C,
462 ) -> Result<impl Stream<Item = Result<E::Model, DbErr>> + 'b + Send, DbErr>
463 where
464 C: ConnectionTrait + StreamTrait + Send,
465 {
466 self.into_model().stream(db).await
467 }
468
469 /// Stream the result of the operation with PartialModel
470 pub async fn stream_partial_model<'a: 'b, 'b, C, M>(

Callers 3

stream_partial_modelMethod · 0.45
streamFunction · 0.45
mainFunction · 0.45

Calls 2

into_selector_rawMethod · 0.80
into_modelMethod · 0.45

Tested by 1

streamFunction · 0.36