Search
Star
1.4k
Feedback
Setup for Free
TTC
Theo's Typesafe Cult
•
4y 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
(
)
Theo's Typesafe Cult
Join
26,172
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Next page
Similar Threads
database write on button click
TTC
Theo's Typesafe Cult / questions
4y ago
how bad of an idea is it to write to a pageViews column in the db on every pageload lmao?
TTC
Theo's Typesafe Cult / questions
4y ago
Is it bad to get db without context?
TTC
Theo's Typesafe Cult / questions
2y ago