t
tRPC
N
tRPC
•
2y ago
•
3 replies
NicoFish
Change db url in ctx with an API call
I want to have a switch in my frontend to change from dev db to prod db
. I
'm using prisma
. Have 2 prisma instances
(one for prod and the other for dev
)
. Is there any way to override the prisma instance in the ctx with an API call
?
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to do an async API call in useEffect (T3 stack)
B
Baboluo / ❓-help
3y ago
createCaller Dependency Injection in Middleware ctx ?
I
isaac_way / ❓-help
3y ago