Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for composite primary keys and foreign keys #1567

Open
csirmazbendeguz opened this issue Mar 12, 2024 · 0 comments
Open

Add support for composite primary keys and foreign keys #1567

csirmazbendeguz opened this issue Mar 12, 2024 · 0 comments

Comments

@csirmazbendeguz
Copy link

Is your feature request related to a problem? Please describe.
When it comes to database partitioning and sharding, composite primary keys are often recommended.

Describe the solution you'd like
A solution to define composite primary keys on the model, and foreign keys capable of referring to composite primary keys.

Describe alternatives you've considered
It's always possible to work around the ORM, but it's inconvenient, especially when building a system with a lot of tables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant