unionAll method

Query<(Expr<A>)> unionAll(
  1. Query<(Expr<A>)> other
)

Combine this Query with other using UNION ALL set operator.

This returns a Query containing all the rows from this Query and other. Unlike .union this retains duplicate rows.

Implementation

Query<(Expr<A>,)> unionAll(Query<(Expr<A>,)> other) => Query._(
  _context,
  _expressions,
  (e) => UnionAllClause._(_from(_expressions.toList()), other._castAs(this)),
);