pub trait QueryExecutor<T: CDRSTransport + 'static, M: ManageConnection<Connection = RefCell<T>, Error = Error> + Sized>: GetConnection<T, M> + GetCompressor<'static> {
// 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 { ... }
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,
Sourcefn query<Q: ToString>(&self, query: Q) -> Result<Frame>where
Self: Sized,
fn query<Q: ToString>(&self, query: Q) -> Result<Frame>where
Self: Sized,
Executes a query with default parameters:
- TDB
Sourcefn query_tw<Q: ToString>(
&self,
query: Q,
with_tracing: bool,
with_warnings: bool,
) -> Result<Frame>where
Self: Sized,
fn query_tw<Q: ToString>(
&self,
query: Q,
with_tracing: bool,
with_warnings: bool,
) -> Result<Frame>where
Self: Sized,
Executes a query with ability to trace it and see warnings, and default parameters:
- TBD
Sourcefn query_with_values<Q: ToString, V: Into<QueryValues>>(
&self,
query: Q,
values: V,
) -> Result<Frame>where
Self: Sized,
fn query_with_values<Q: ToString, V: Into<QueryValues>>(
&self,
query: Q,
values: V,
) -> Result<Frame>where
Self: Sized,
Executes a query with bounded values (either with or without names).
Sourcefn 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_values_tw<Q: ToString, V: Into<QueryValues>>(
&self,
query: Q,
values: V,
with_tracing: bool,
with_warnings: bool,
) -> Result<Frame>where
Self: Sized,
Executes a query with bounded values (either with or without names) and ability to see warnings, trace a request and default parameters.
Sourcefn query_with_params<Q: ToString>(
&self,
query: Q,
query_params: QueryParams,
) -> Result<Frame>where
Self: Sized,
fn query_with_params<Q: ToString>(
&self,
query: Q,
query_params: QueryParams,
) -> Result<Frame>where
Self: Sized,
Executes a query with query params without warnings and tracing.