Theo's Typesafe CultTTC
Theo's Typesafe Cult4y ago
130 replies
Lopen

is it bad to write to database in .query()

I do get confused sometimes i write my
ctx.prisma.user.create({...})
In a .query()
Instead of .mutation()
Was this page helpful?