Struct scyllax_parser::select::SelectQuery
source · 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
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a> TryFrom<&'a str> for SelectQuery
impl<'a> TryFrom<&'a str> for SelectQuery
impl StructuralPartialEq for SelectQuery
Auto Trait Implementations§
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