5 ms·
How would you handle unmatched outer joins?
by solumunus 2y ago
How would you handle unmatched outer joins?
- masklinn 2y agoa left outer join b yields tuples of (A, Option<B>), a full outer join b yields tuples of (Option<A>, Option<B>)
- benzayb 2y agoBy having a default value (non-null) for each declared type of those columns. Or, the user must define a default value in the query itself. Yes, tedious; but, precise and forces the programmer to really prepare for the "unknown" scenario.