-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[EPIC] Composite primary/foreign keys #1830
Copy link
Copy link
Open
Labels
RESTIssues related to @loopback/rest package and REST transport in generalIssues related to @loopback/rest package and REST transport in generalRelationsModel relations (has many, etc.)Model relations (has many, etc.)RepositoryIssues related to @loopback/repository packageIssues related to @loopback/repository packageepicfeaturemajor
Metadata
Metadata
Assignees
Labels
RESTIssues related to @loopback/rest package and REST transport in generalIssues related to @loopback/rest package and REST transport in generalRelationsModel relations (has many, etc.)Model relations (has many, etc.)RepositoryIssues related to @loopback/repository packageIssues related to @loopback/repository packageepicfeaturemajor
See strongloop/loopback#2080 for the original discussion in LB 2.x/3.x.
LoopBack should support models using composite keys, where a primary key or a foreign key is composed from multiple properties.
Let's consider the following models as an example:
Functional areas we need to cover: