Is relationships only for .findMany() and .findFirst()

Is it correctly understood that relationships only works with .findMany() and .findFirst() and not with select, insert, update, and delete? In the documentation, that is the only examples I can find https://orm.drizzle.team/docs/rqb#declaring-relations
Drizzle ORM - Query
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
2 Replies
Aaroned
Aaroned•10mo ago
@Martin Carlsson yes that's correct
Martin Carlsson
Martin CarlssonOP•10mo ago
That was fast 🤩 Thanks @Aaroned

Did you find this page helpful?