Enum mentat_transaction::query::PreparedQuery
[−]
[src]
pub enum PreparedQuery<'sqlite> { Empty { find_spec: Rc<FindSpec>, }, Constant { select: ConstantProjector, }, Bound { statement: Statement<'sqlite>, schema: Schema, connection: &'sqlite Connection, args: Vec<(String, Rc<Value>)>, projector: Box<Projector>, }, }
Variants
Empty
Fields of Empty
find_spec: Rc<FindSpec> |
Constant
Fields of Constant
select: ConstantProjector |
Bound
Fields of Bound
statement: Statement<'sqlite> | |
schema: Schema | |
connection: &'sqlite Connection | |
args: Vec<(String, Rc<Value>)> | |
projector: Box<Projector> |
Methods
impl<'sqlite> PreparedQuery<'sqlite>
[src]
pub fn run<T>(&mut self, _inputs: T) -> QueryExecutionResult where
T: Into<Option<QueryInputs>>,
[src]
T: Into<Option<QueryInputs>>,