Indxgo
06/10/2021, 4:50 PMRyan
06/10/2021, 4:51 PMprisma generateIndxgo
06/10/2021, 4:54 PMIndxgo
06/10/2021, 4:54 PMjanpio
@@map to use another name in the schema, and then map it to the underlying table.Indxgo
06/10/2021, 5:11 PMIndxgo
06/10/2021, 5:14 PMawait prisma.account.findMany({
where: {
email: user.email,
},
})Indxgo
06/10/2021, 5:14 PMaccounts WHERE email = ? LIMIT 1"`Ryan
06/11/2021, 5:46 AMtake. I would suggest going through the docs on Prisma Client and it’s functionality 🙂