Type Alias ClickhousePgPool

Source
pub type ClickhousePgPool = PgPool;

Aliased Type§

pub struct ClickhousePgPool(/* private fields */);

Trait Implementations§

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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