Hey. I recently started using Prisma and love it s...
# orm-help
h
Hey. I recently started using Prisma and love it so far but one thing I am unable to do is one way relationships. Multiple A can reference B but no reference Id in B. I saw open issues on github but they are unresolved as of now. Isn’t this a common enough use case? How does everyone else deal with it in the meanwhile?
1
h
Hey @Harshit Aneja 👋 There are a few GitHub issues relating to it as I saw. Could you tell me your scenario? I could help you write out your schemas.
Technically, you can do one-way relationships -- the syntax is just different. There's an issue open to improve it: https://github.com/prisma/prisma/issues/2018
h
I misunderstood Relation Scalar Field. I just checked and it works for my use case. Thanks.
👋 1