Skip to main content

QueryTrait

Trait QueryTrait 

Source
pub trait QueryTrait<R>
where R: Row,
{ // Required method fn query_row(&mut self, query: &str) -> Result<Vec<R>>; }
Expand description

Generic trait to be implemented by SQL drivers (or more likely by proxy to SQL drivers) so that the functionalities provided by this crate can be leveraged

Required Methods§

Source

fn query_row(&mut self, query: &str) -> Result<Vec<R>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> QueryTrait<Row> for MysqlProxy<T>
where T: Queryable,

Available on crate feature compatibility_v0_10 only.