Type Alias ClickhousePgConnection

Source
pub type ClickhousePgConnection = PgConnection;

Aliased Type§

pub struct ClickhousePgConnection { /* private fields */ }

Trait Implementations§

Source§

impl<'c, 'q, 'async_trait> ExecutorExt<'c, 'q, 'async_trait, ClickhousePgRow> for &'c mut ClickhousePgConnection
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>>