-
-
Notifications
You must be signed in to change notification settings - Fork 686
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
[FEATURE]: "One of many" relationship #839
Comments
@MatanYadaev |
@erfanium Of course I can do stuff manually, but I prefer the ORM to do that for me. Thanks :) |
@MatanYadaev It's a bit off topic: ORMs can be incredible unmaintainable, if you say yes to every feature request. that's why most ORMs suck and they will be abandoned after a while. you start with I'm not a drizzle-orm contributor currently, but personally i don't want it to go that way, like other similar projects. |
Closing this in favor of #821. The feature request in the mentioned issue would lead to a more dynamic implementation of what's described here. |
Describe what you want
A model can have a one-to-many relation, but sometimes you might want just the "latest" or the "oldest" record of this relation. "Has one of many" relationship helps to accomplish that.
Prior Art
The text was updated successfully, but these errors were encountered: