Stream the result of the operation with PartialModel
(
self,
db: &'a C,
)
| 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 | |
| 482 | impl<E, F> SelectTwo<E, F> |
nothing calls this directly
no test coverage detected