Next.js Discord

Discord Forum

Prisma wizards. Need assistance.

Answered
SkippTekk posted this in #help-forum
Open in Discord
Avatar
I have a command that goes const user = await prisma.users.findMany({ where: { username: credentials?.username } }) and im wondering, can't i just use that findMany for another one like Sequilize does? for example;
for that const, it shows username,email,password etc. and i was wondering if i can do users.password to pull from the data base.
Answered by SkippTekk
Switched from Prisma to Sequilize
View full answer

1 Reply

Avatar
Switched from Prisma to Sequilize
Answer