crossJoin<T extends HasResultSet, D> function Null safety

Join<HasResultSet, dynamic> crossJoin<T extends HasResultSet, D>(
  1. ResultSetImplementation<T, D> 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<T extends HasResultSet, D>(ResultSetImplementation<T, D> other,
    {bool? useColumns}) {
  return Join._(_JoinType.cross, other, null, includeInResult: useColumns);
}