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

Method stream_partial_model

src/executor/select.rs:470–479  ·  view source on GitHub ↗

Stream the result of the operation with PartialModel

(
        self,
        db: &'a C,
    )

Source from the content-addressed store, hash-verified

468
469 /// Stream the result of the operation with PartialModel
470 pub async fn stream_partial_model<'a: 'b, 'b, C, M>(
471 self,
472 db: &'a C,
473 ) -> Result<impl Stream<Item = Result<M, DbErr>> + 'b + Send, DbErr>
474 where
475 C: ConnectionTrait + StreamTrait + Send,
476 M: PartialModelTrait + Send + 'b,
477 {
478 self.into_partial_model().stream(db).await
479 }
480}
481
482impl<E, F> SelectTwo<E, F>

Callers

nothing calls this directly

Calls 2

streamMethod · 0.45
into_partial_modelMethod · 0.45

Tested by

no test coverage detected