FIND YOUR NEXT FEW LINES
Results for “union”
Small, practical examples. Search by task or narrow things down below.
10 snippets foundClear filters
Handle a result with a discriminated union
Separate success data from an error message.
discriminated union✓ Tested
Narrow a union using typeof
Handle text and numeric values with separate branches.
union✓ Tested
Track which union member is currently valid
C: An explicit tag tells callers which overlaid union value to read.
C✓ Tested
Combine collections as a distinct set
C#: Union retains each value once across both inputs.
C#✓ Tested
Combine results while retaining duplicates
SQL: UNION ALL does not spend work removing equal rows.
SQL✓ Tested
Combine results while retaining duplicates
SQL Server: UNION ALL does not spend work removing equal rows.
SQL Server✓ Tested
Combine results while retaining duplicates
Postgres: UNION ALL does not spend work removing equal rows.
Postgres✓ Tested
Combine results while retaining duplicates
SQLite: UNION ALL does not spend work removing equal rows.
SQLite✓ Tested
Combine results without duplicates
Merge compatible result sets with UNION.
UNION✓ Tested
Type a dictionary with Record
Limit a lookup table to a known set of keys.
Record✓ Tested