Skip to main content

union

Function union 

Source
pub fn union<Q: HasCompounds>(query: impl IntoExpr) -> impl Mod<Q>
Expand description

UNION <select-core> — rows of either, duplicates removed.

The operand is written bare: a parenthesised select is not a compound operand in SQLite. Pass a SelectQuery directly, or query for one built elsewhere — not subquery, which adds the parentheses that would make this a syntax error.