Prisma, Authorization, Typescript, Web Development.
data: { name: 'Emily', roles: { connect: { id: managerRole.id } } }, include: { roles: { include: { permissions: true } } }, }); const adam = await prisma.user.create({ data: { name: 'Adam', roles: { connect: { id: staffRole.id } } }, include: { roles: { include: { permissions: true } } }, }); //