pub type ClickhousePgPool = PgPool;

Trait Implementations§

source§

impl<'c, 'q, 'async_trait> ExecutorExt<'c, 'q, 'async_trait, ClickhousePgRow> for &'c ClickhousePgPoolwhere 'c: 'async_trait, 'q: 'async_trait,

source§

fn execute( self, sql: &'q str ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait, Global>>

source§

fn fetch_all( self, sql: &'q str ) -> Pin<Box<dyn Future<Output = Result<Vec<T, Global>, Error>> + Send + 'async_trait, Global>>

source§

fn fetch_one( self, sql: &'q str ) -> Pin<Box<dyn Future<Output = Result<T, Error>> + Send + 'async_trait, Global>>

source§

fn fetch_optional( self, sql: &'q str ) -> Pin<Box<dyn Future<Output = Result<Option<T>, Error>> + Send + 'async_trait, Global>>