You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constdb= ... // enhanced prismadb.category.update({where: {id: 1},data: {parent: {connect: {id: 1}}}})// Works fine to connectdb.category.update({where: {id: 1},data: {parent: {disconnect: true}}})// Does not work (?) enhance injects parentId in the where
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: