[][src]Trait cdrs::query::PrepareExecutor

pub trait PrepareExecutor<T: CDRSTransport + 'static, M: ManageConnection<Connection = RefCell<T>, Error = Error> + Sized>: GetConnection<T, M> + GetCompressor<'static> {
    fn prepare_tw<Q: ToString>(
        &self,
        query: Q,
        with_tracing: bool,
        with_warnings: bool
    ) -> Result<PreparedQuery>
    where
        Self: Sized
, { ... }
fn prepare<Q: ToString>(&self, query: Q) -> Result<PreparedQuery>
    where
        Self: Sized
, { ... } }

Provided methods

fn prepare_tw<Q: ToString>(
    &self,
    query: Q,
    with_tracing: bool,
    with_warnings: bool
) -> Result<PreparedQuery> where
    Self: Sized

It prepares a query for execution, along with query itself the method takes with_tracing and with_warnings flags to get tracing information and warnings.

fn prepare<Q: ToString>(&self, query: Q) -> Result<PreparedQuery> where
    Self: Sized

It prepares query without additional tracing information and warnings.

Loading content...

Implementors

impl<'a, T: CDRSTransport + 'static, LB: LoadBalancingStrategy<ConnectionPool<M>> + Sized, M: ManageConnection<Connection = RefCell<T>, Error = Error> + Sized> PrepareExecutor<T, M> for Session<LB>[src]

Loading content...