pub struct SelectQuery {
pub table: String,
pub columns: Vec<Column>,
pub condition: Vec<WhereClause>,
pub limit: Option<Value>,
}
Expand description
Represents a select query
Fields§
§table: String
The table being queried
columns: Vec<Column>
The columns being queried
condition: Vec<WhereClause>
The conditions of the query
limit: Option<Value>
The limit of the query
Trait Implementations§
Source§impl Debug for SelectQuery
impl Debug for SelectQuery
Source§impl PartialEq for SelectQuery
impl PartialEq for SelectQuery
Source§impl<'a> TryFrom<&'a str> for SelectQuery
impl<'a> TryFrom<&'a str> for SelectQuery
impl StructuralPartialEq for SelectQuery
Auto Trait Implementations§
impl Freeze for SelectQuery
impl RefUnwindSafe for SelectQuery
impl Send for SelectQuery
impl Sync for SelectQuery
impl Unpin for SelectQuery
impl UnwindSafe for SelectQuery
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