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>>

Implementors§

Source§

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