Get all Models from the SELECT query
(self, db: &C)
| 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>( |