Enum rorm::representations::FFIJoinType
source · #[repr(C)]
pub enum FFIJoinType {
Join,
CrossJoin,
LeftJoin,
RightJoin,
FullJoin,
}
Expand description
Representation of a join type.
Variants§
Join
Normal join operation.
Equivalent to INNER JOIN
CrossJoin
Cartesian product of the tables
LeftJoin
Given: T1 LEFT JOIN T2 ON ..
First, an inner join is performed. Then, for each row in T1 that does not satisfy the join condition with any row in T2, a joined row is added with null values in columns of T2.
RightJoin
Given: T1 RIGHT JOIN T2 ON ..
First, an inner join is performed. Then, for each row in T2 that does not satisfy the join condition with any row in T1, a joined row is added with null values in columns of T1.
FullJoin
Given: T1 FULL JOIN T2 ON ..
First, an inner join is performed. Then, for each row in T2 that does not satisfy the join condition with any row in T1, a joined row is added with null values in columns of T1. Also, for each row in T1 that does not satisfy the join condition with any row in T2, a joined row is added with null values in columns of T2.
Trait Implementations§
source§impl Clone for FFIJoinType
impl Clone for FFIJoinType
source§fn clone(&self) -> FFIJoinType
fn clone(&self) -> FFIJoinType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more