Trait cdrs::query::PrepareExecutor
source · 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> { ... }
fn prepare<Q: ToString>(&self, query: Q) -> Result<PreparedQuery> { ... }
}
Provided Methods§
sourcefn prepare_tw<Q: ToString>(
&self,
query: Q,
with_tracing: bool,
with_warnings: bool
) -> Result<PreparedQuery>
fn prepare_tw<Q: ToString>(
&self,
query: Q,
with_tracing: bool,
with_warnings: bool
) -> Result<PreparedQuery>
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.
sourcefn prepare<Q: ToString>(&self, query: Q) -> Result<PreparedQuery>
fn prepare<Q: ToString>(&self, query: Q) -> Result<PreparedQuery>
It prepares query without additional tracing information and warnings.