prisma-M–N-demo I realised that the documentation for this is unclear online. SO this repo demonstrates how to connect and disconnect records with an M–N relationship in prisma. Play around with the two functions in script.ts to understand more.