Trait convergence::engine::Portal [−][src]
A Postgres portal. Portals represent a prepared statement with all parameters specified.
See Postgres’ protocol docs regarding the extended query overview for more details.
Required methods
#[must_use]fn fetch<'life0, 'life1, 'async_trait>(
&'life0 mut self,
batch: &'life1 mut DataRowBatch
) -> Pin<Box<dyn Future<Output = Result<(), ErrorResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
batch: &'life1 mut DataRowBatch
) -> Pin<Box<dyn Future<Output = Result<(), ErrorResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Fetches the contents of the portal into a DataRowBatch.