Struct sqlx_core::query_as::QueryAs [−][src]
pub struct QueryAs<'q, DB: Database, O, A> { /* fields omitted */ }
Expand description
Implementations
Execute the query and return the generated results as a stream.
pub fn fetch_many<'e, 'c: 'e, E>(
self,
executor: E
) -> BoxStream<'e, Result<Either<DB::QueryResult, O>, Error>> where
'q: 'e,
E: 'e + Executor<'c, Database = DB>,
DB: 'e,
O: 'e,
A: 'e,
pub fn fetch_many<'e, 'c: 'e, E>(
self,
executor: E
) -> BoxStream<'e, Result<Either<DB::QueryResult, O>, Error>> where
'q: 'e,
E: 'e + Executor<'c, Database = DB>,
DB: 'e,
O: 'e,
A: 'e,
Execute multiple queries and return the generated results as a stream from each query, in a stream.
Execute the query and return all the generated results, collected into a Vec
.
Execute the query and returns exactly one row.
Trait Implementations
Gets the previously cached statement, if available.
Returns the arguments to be bound against the query string. Read more
Returns true
if the statement should be cached.