3 ms·
Each type of postal address is a separate column. New postal address "types" would get new columns. This works particularly well when addresses can have both PO
by cgh 6y ago
Each type of postal address is a separate column. New postal address "types" would get new columns. This works particularly well when addresses can have both PO boxes as well as street addresses. This is actually more flexible than tagged unions/sum types, at least for this particular case.
- DaiPlusPlus 6y agoSo a PO Box address or a house address would be concatenated into a string value and then stored in either Addresses.POBoxAdress or Addresses.House? It’s still not structured. How can someone easily get the postal-code/zip-code?