Hi, In one-to-many relation like this, suppose yo...
# orm-help
s
Hi, In one-to-many relation like this, suppose you want to create a post, how would the create operation look like? Would it be possible to include examples of crud operations in the documentation for relationships as well? https://www.prisma.io/docs/concepts/components/prisma-schema/relations/one-to-many-relations
I am a bit confused here. Do I need to do prisma.user.create() or prisma.post.create(). If it is prisma.post.create(), how to I specify the user?
Okay, if figured you will need to use connect. If it could be added to the documentation for relationships, that would be great. Would reduce the need for searching.
n
Thanks for the feedback Shahrukh 🙌 I’ll pass this to the team.
👍 1