pub struct Select { /* private fields */ }
Expand description
A database query to select rows.
Implementations§
source§impl Select
impl Select
sourcepub fn table<S: Into<String>>(table_name: S) -> Select
pub fn table<S: Into<String>>(table_name: S) -> Select
Starts building a query that will select rows from the specified table.
sourcepub fn inner_join(self, rhs: Select, on: Expr) -> Select
pub fn inner_join(self, rhs: Select, on: Expr) -> Select
Performs an inner join between this and another query, producing a row for each pair of rows from the two tables that matches the expression.
sourcepub fn left_join(self, rhs: Select, on: Expr) -> Select
pub fn left_join(self, rhs: Select, on: Expr) -> Select
Performs a left join between this and another query.
Trait Implementations§
Auto Trait Implementations§
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