How create mutation relations many to many


How generate a mutation with this relation

type Talent @pgTable(name: “talents”) {
id: UUID! @unique
name: String!
events: [Event] @pgRelation(name: “talentsxevent”)

type Event @pgTable(name: “events”) {
id: UUID! @unique
place: String
dailybudget: String
activities: String
city: String
talents: [Talent] @pgRelation(name: “talentsxevent”)


Hi @carl.mateuss

What kind of mutation are you asking for(create, update, upsert)? Can you please elaborate?


I do not speak English well, excuse me. What I need is to generate a mutation that allows me to create or update a relationship from many to many, I would greatly appreciate it. Thank you so much


This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.