Is it possible to return has many relationship load to return a single object instead of an array.
output
desired output
1 Reply
Sadly, that's not possible.
A V2 is planned but I am not sure this behaviour will change: https://github.com/drizzle-team/drizzle-orm/discussions/2316
GitHub
Relational API v2 · drizzle-team drizzle-orm · Discussion #2316
We've launched Drizzle Relational Queries exactly a year ago and it's time to ship a fundamental upgrade. We've gathered a massive amount of valuable feedback from the community and goi...