YoungHappyGuy
YoungHappyGuy
PPrisma
Created by YoungHappyGuy on 7/19/2024 in #help-and-questions
updateMany fails with "You can't specify target table 'Org' for update in FROM clause" error
@Lord Zd Thanks for the help
5 replies
PPrisma
Created by YoungHappyGuy on 7/19/2024 in #help-and-questions
updateMany fails with "You can't specify target table 'Org' for update in FROM clause" error
@Lord Zd Thank you for your reply. The docs mentions about my kind of schema in the last section and even the schema provided in the docs doesn't work (for updateMany) https://www.prisma.io/docs/orm/prisma-schema/data-model/relations/self-relations#defining-multiple-self-relations-on-the-same-model
5 replies