Trait sea_orm::StreamTrait
source · [−]pub trait StreamTrait<'a>: Send + Sync {
type Stream: Stream<Item = Result<QueryResult, DbErr>> + Send;
fn stream(
&'a self,
stmt: Statement
) -> Pin<Box<dyn Future<Output = Result<Self::Stream, DbErr>> + Send + 'a>>;
}
Expand description
Stream query results
Required Associated Types
Create a stream for the QueryResult