createLeftJoin method

LeftJoin createLeftJoin(
  1. On on, {
  2. String as = '',
})

Creates a LeftJoin 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 LeftJoin object that can be used in SQL queries.

Implementation

LeftJoin createLeftJoin(On on, {String as = ''}) {
  return LeftJoin(name, on, as: as);
}