innerJoin<T extends HasResultSet, D> function Null safety

Join<HasResultSet, dynamic> innerJoin<T extends HasResultSet, D>(
  1. ResultSetImplementation<T, D> other,
  2. Expression<bool?> on,
  3. {bool? useColumns}
)

Creates a sql inner join that can be used in SimpleSelectStatement.join.

The optional useColumns parameter (defaults to true) can be used to exclude the other table from the result set. When set to false, TypedResult.readTable will return null for that table.

See also:

Implementation

Join innerJoin<T extends HasResultSet, D>(
    ResultSetImplementation<T, D> other, Expression<bool?> on,
    {bool? useColumns}) {
  return Join._(_JoinType.inner, other, on, includeInResult: useColumns);
}