Prisma, Authorization, Typescript, Web Development.
prisma.user.create({ data: { name: 'Adam' }, }); const joe = await prisma.user.create({ data: { name: 'Joe' }, }); // create two orgs // Emily as admin of org Apple const apple = await prisma.org.create({ data: { name: 'Apple', members: { create: [ { user: { connect: { id: emily.id } }, role: