pub struct Select {
pub items: Vec<Item>,
pub from: Option<String>,
pub filter: Vec<Vec<Cond>>,
pub order: Option<(String, bool)>,
pub limit: Option<usize>,
pub offset: usize,
}Expand description
What a query asks for.
One table, because there is no join; and no expressions beyond a column, a literal and
count(*), because an expression language is what 04
§4.2 says the Query sub-language is for and this is not it.
Fields§
§items: Vec<Item>§from: Option<String>§filter: Vec<Vec<Cond>>§order: Option<(String, bool)>§limit: Option<usize>§offset: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for Select
impl RefUnwindSafe for Select
impl Send for Select
impl Sync for Select
impl Unpin for Select
impl UnwindSafe for Select
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