join<Tc, TDao extends Tc> method
TripleJoinQuerySource<Ta, Tb, Tc>
join<Tc, TDao extends Tc>(
- DataBean<
TDao> other, - DataField mainField,
- DataField otherField, {
- CompareType type = CompareType.equals,
Create JoinedQuerySource with this and the following join.
This enabled chaining of join() calls.
Implementation
TripleJoinQuerySource<Ta, Tb, Tc> join<Tc, TDao extends Tc>(
DataBean<TDao> other, DataField mainField, DataField otherField,
{CompareType type = CompareType.equals}) {
return TripleJoinQuerySource<Ta, Tb, Tc>(
main,
joinB,
BeanJoin<TDao>(other, mainField, type, otherField),
);
}