When we have a foreign key in Rel8, we don't really know if it's one-to-one or one-to-many.
In fact we don't really distinguish foreign keys from normal values at all.
It would be nice to encode this information somehow. I don't have a concrete design. But it would really help if I could just tell from a glance that a certain line will always succeed or always give exactly one result.
This is always a source of uncertainty when writing or reading queries.