Trait SequenceDualSourceQueryExecutor

Source
pub trait SequenceDualSourceQueryExecutor {
    // Required method
    fn query_sequence_last_values<'life0, 'async_trait>(
        &'life0 self,
        input: QueryLastValuesInput,
    ) -> Pin<Box<dyn Future<Output = (Result<i64>, Result<i64>)> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn query_sequence_last_values<'life0, 'async_trait>( &'life0 self, input: QueryLastValuesInput, ) -> Pin<Box<dyn Future<Output = (Result<i64>, Result<i64>)> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Executes a query to retrieve the last value of a sequence.

§Arguments
  • input - The input parameters for the query.
§Returns

A tuple containing the result of the query as a Result<i64>.

Implementors§