crossJoin function Null safety

Join<HasResultSet, dynamic> crossJoin(
  1. Table other,
  2. {bool? useColumns}
)

Creates a sql cross 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 crossJoin(Table other, {bool? useColumns}) {
  return Join._(_JoinType.cross, other, null, includeInResult: useColumns);
}