Join with an Entity Related to me.
(self, _: R)
| 39 | |
| 40 | /// Join with an Entity Related to me. |
| 41 | pub fn reverse_join<R>(self, _: R) -> Self |
| 42 | where |
| 43 | R: EntityTrait + Related<E>, |
| 44 | { |
| 45 | self.join_rev(JoinType::InnerJoin, R::to()) |
| 46 | } |
| 47 | |
| 48 | /// Left Join with a Related Entity and select both Entity. |
| 49 | pub fn find_also_related<R>(self, r: R) -> SelectTwo<E, R> |