unionAll method

Query<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>, Expr<F>, Expr<G>, Expr<H>)> unionAll(
  1. Query<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>, Expr<F>, Expr<G>, Expr<H>)> 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>, Expr<B>, Expr<C>, Expr<D>, Expr<E>, Expr<F>, Expr<G>, Expr<H>)
>
unionAll(
  Query<
    (Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>, Expr<F>, Expr<G>, Expr<H>)
  >
  other,
) => Query._(
  _context,
  _expressions,
  (e) => UnionAllClause._(_from(_expressions.toList()), other._castAs(this)),
);