Prisma wizards. Need assistance.
Answered
SkippTekk posted this in #help-forum
I have a command that goes
for that const, it shows username,email,password etc. and i was wondering if i can do
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.1 Reply
Switched from Prisma to Sequilize
Answer