pub enum JoinType {
Join,
InnerJoin,
LeftJoin,
RightJoin,
FullOuterJoin,
CrossJoin,
}Expand description
SQL JOIN types.
Variants§
Join
INNER JOIN - returns rows when there is a match in both tables
InnerJoin
INNER JOIN (explicit)
LeftJoin
LEFT JOIN - returns all rows from the left table
RightJoin
RIGHT JOIN - returns all rows from the right table
FullOuterJoin
FULL OUTER JOIN - returns rows when there is a match in one of the tables
CrossJoin
CROSS JOIN - cartesian product of both tables
Implementations§
Trait Implementations§
impl Copy for JoinType
impl Eq for JoinType
impl StructuralPartialEq for JoinType
Auto Trait Implementations§
impl Freeze for JoinType
impl RefUnwindSafe for JoinType
impl Send for JoinType
impl Sync for JoinType
impl Unpin for JoinType
impl UnsafeUnpin for JoinType
impl UnwindSafe for JoinType
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