join method
QueryBuilder
join(
- String table,
- String firstColumn, [
- String? operator,
- String? secondColumn,
- String type = 'INNER',
- bool where = false,
inherited
Implementation
@override
QueryBuilder join(
String table,
String firstColumn, [
String? operator,
String? secondColumn,
String type = 'INNER',
bool where = false,
]) {
String clause = "$type JOIN $table";
if (operator != null && secondColumn != null) {
clause += " ON $firstColumn $operator $secondColumn";
}
joins.add(clause);
return this;
}