howdy, if I have a node A with nested nodes Bs (th...
# orm-help
z
howdy, if I have a node A with nested nodes Bs (through relations), how do I create a copy of A & Bs - I guess I'm looking for a way to clone them?
n
1) query A & Bs 2) run
createA(data: { create: [...bs] })
z
roger! even easier than doing a mutation query
n
what is a mutation query?
z
hmm let's just say your suggestion works the best, just started writing resolvers :-)(