Skip to content

Feature request: encoding foreign key arity #362

Description

@TeofilC

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions