Hi,
What do we mean by cardinality 0..1 for record type location?
d
David B
03/05/2024, 10:04 PM
for relational databases (like what NS is) cardinality refers to the relationship between two tables/records. The notation "0..1" means the cardinality of "zero or one."
I think you're missing some of the definition. I'd expect something like 'transaction to location has a cardinality of 0..1' (meaning a transaction can have zero location associated with it, or one location)
David B
03/05/2024, 10:05 PM
similarly, a '1..n' or '1..*' cardinality means that the first record has one or more of the second record linked to it (but, importantly, never zero)