createJoin method
Creates a Join object for this table with the specified join condition.
on
is the join condition
as
is an optional alias for the joined table
Returns a Join object that can be used in SQL queries.
Implementation
Join createJoin(On on, {String as = ''}) {
return Join(name, on, as: as);
}