Struct geekorm_core::queries::query::Query
source · pub struct Query {
pub query_type: QueryType,
pub query: String,
pub values: Values,
pub parameters: Values,
pub columns: Vec<String>,
/* private fields */
}Expand description
The built Query struct with the query and values to use
Fields§
§query_type: QueryTypeThe type of query (select, insert, update, delete)
query: StringThe resulting SQLite Query
values: ValuesThe values to use in the query (where / insert / update)
parameters: ValuesList of parameters for the query (update / insert)
columns: Vec<String>The output columns for the query (used in raw queries)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more