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: QueryType
The type of query (select, insert, update, delete)
query: String
The resulting SQLite Query
values: Values
The values to use in the query (where / insert / update)
parameters: Values
List 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