innerJoin function

Join<HasResultSet, dynamic> innerJoin(
  1. HasResultSet 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:


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