[][src]Trait cdrs::query::QueryExecutor

pub trait QueryExecutor<T: CDRSTransport + 'static, M: ManageConnection<Connection = RefCell<T>, Error = Error> + Sized>: GetConnection<T, M> + GetCompressor<'static> {
    fn query_with_params_tw<Q: ToString>(
        &self,
        query: Q,
        query_params: QueryParams,
        with_tracing: bool,
        with_warnings: bool
    ) -> Result<Frame>
    where
        Self: Sized
, { ... }
fn query<Q: ToString>(&self, query: Q) -> Result<Frame>
    where
        Self: Sized
, { ... }
fn query_tw<Q: ToString>(
        &self,
        query: Q,
        with_tracing: bool,
        with_warnings: bool
    ) -> Result<Frame>
    where
        Self: Sized
, { ... }
fn query_with_values<Q: ToString, V: Into<QueryValues>>(
        &self,
        query: Q,
        values: V
    ) -> Result<Frame>
    where
        Self: Sized
, { ... }
fn query_with_values_tw<Q: ToString, V: Into<QueryValues>>(
        &self,
        query: Q,
        values: V,
        with_tracing: bool,
        with_warnings: bool
    ) -> Result<Frame>
    where
        Self: Sized
, { ... }
fn query_with_params<Q: ToString>(
        &self,
        query: Q,
        query_params: QueryParams
    ) -> Result<Frame>
    where
        Self: Sized
, { ... } }

Provided methods

fn query_with_params_tw<Q: ToString>(
    &self,
    query: Q,
    query_params: QueryParams,
    with_tracing: bool,
    with_warnings: bool
) -> Result<Frame> where
    Self: Sized
[src]

fn query<Q: ToString>(&self, query: Q) -> Result<Frame> where
    Self: Sized
[src]

Executes a query with default parameters:

  • TDB

fn query_tw<Q: ToString>(
    &self,
    query: Q,
    with_tracing: bool,
    with_warnings: bool
) -> Result<Frame> where
    Self: Sized
[src]

Executes a query with ability to trace it and see warnings, and default parameters:

  • TBD

fn query_with_values<Q: ToString, V: Into<QueryValues>>(
    &self,
    query: Q,
    values: V
) -> Result<Frame> where
    Self: Sized
[src]

Executes a query with bounded values (either with or without names).

fn query_with_values_tw<Q: ToString, V: Into<QueryValues>>(
    &self,
    query: Q,
    values: V,
    with_tracing: bool,
    with_warnings: bool
) -> Result<Frame> where
    Self: Sized
[src]

Executes a query with bounded values (either with or without names) and ability to see warnings, trace a request and default parameters.

fn query_with_params<Q: ToString>(
    &self,
    query: Q,
    query_params: QueryParams
) -> Result<Frame> where
    Self: Sized
[src]

Executes a query with query params without warnings and tracing.

Loading content...

Implementors

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

Loading content...