hey everyone, I have a question I'm hoping to get ...
# prisma-whats-new
r
hey everyone, I have a question I'm hoping to get answered. I have two schema objects. One called Service the Other called Function. There is a relationship setup where I can have mutiple functions related to a single service. I'm try to write a mutation that will insert a new service and insert two functions (related to that service), and trying to that all at once. Having trouble doing this since I can't create the functions if I don't know the ID of the service. Any thoughts on how to handle?
d
What you want is called a nested create mutation
r
thanks @dankent !!