pub struct SelectQuery {
pub columns: Vec<SelectItem>,
pub table: Table,
pub where_clause: Option<Condition>,
}
Expand description
Main structure for storing a SQL select query. Contains selected columns, the table, and an optional WHERE filter.
Fields§
§columns: Vec<SelectItem>
List of columns or functions to select.
table: Table
The table to select data from.
where_clause: Option<Condition>
Filtering conditions in WHERE, if present.
Trait Implementations§
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