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: StringThe 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§fn eq(&self, other: &SelectQuery) -> bool
fn eq(&self, other: &SelectQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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