ReactPoriyaalar
Explore posts from serversDTDrizzle Team
•Created by ReactPoriyaalar on 11/9/2023 in #help
Does drizzle support `disconnect` relations ?
Thanks for clarifying this. I actually found this out with the basic knowledge of SQL . Also now may be in retrospect I feel
disconnect
and connect
are not so much needed abstractions13 replies
DTDrizzle Team
•Created by ReactPoriyaalar on 11/9/2023 in #help
Does drizzle support `disconnect` relations ?
In prisma to remove relations between two sides you can use
disconnect
which is part of the client . It can be used for one to many relationships
https://www.prisma.io/docs/concepts/components/prisma-client/relation-queries#disconnect-a-related-record13 replies
DTDrizzle Team
•Created by SPS | Shootmail on 7/1/2023 in #help
Modelling self relations
May be the use case of having one to many self relations could be explained with an example . In general a dedicated section for self relations would clarify this ambiguity
10 replies
DTDrizzle Team
•Created by SPS | Shootmail on 7/1/2023 in #help
Modelling self relations
I stand corrected. Just relaized what you shared is actually a self relation of users against users.
10 replies
DTDrizzle Team
•Created by SPS | Shootmail on 7/1/2023 in #help
Modelling self relations
Unlike prisma docs , self relations are not documented
10 replies
DTDrizzle Team
•Created by SPS | Shootmail on 7/1/2023 in #help
Modelling self relations
This should be documented
10 replies