union

fun AbstractQuery<*>.union(other: Query): Union

Combines all results from this query with the results of other, WITHOUT including duplicates.

Samples

org.jetbrains.exposed.sql.tests.shared.dml.UnionTests.testUnionWithLimit