Trait mentat_query_projector::Projector
[−]
[src]
pub trait Projector { fn project<'stmt, 's>(
&self,
schema: &Schema,
sqlite: &'s Connection,
rows: Rows<'stmt>
) -> Result<QueryOutput>; fn columns<'s>(&'s self) -> Box<Iterator<Item = &Element> + 's>; }
Required Methods
fn project<'stmt, 's>(
&self,
schema: &Schema,
sqlite: &'s Connection,
rows: Rows<'stmt>
) -> Result<QueryOutput>
&self,
schema: &Schema,
sqlite: &'s Connection,
rows: Rows<'stmt>
) -> Result<QueryOutput>
fn columns<'s>(&'s self) -> Box<Iterator<Item = &Element> + 's>
Implementors
impl Projector for ConstantProjector