Enum mentat::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]
impl<'sqlite> PreparedQuery<'sqlite>
pub fn run<T>(&mut self, _inputs: T) -> QueryExecutionResult where
T: Into<Option<QueryInputs>>,
[src]
pub fn run<T>(&mut self, _inputs: T) -> QueryExecutionResult where
T: Into<Option<QueryInputs>>,
Trait Implementations
Auto Trait Implementations
impl<'sqlite> !Send for PreparedQuery<'sqlite>
impl<'sqlite> !Send for PreparedQuery<'sqlite>
impl<'sqlite> !Sync for PreparedQuery<'sqlite>
impl<'sqlite> !Sync for PreparedQuery<'sqlite>