McPizza
Explore posts from serversDTDrizzle Team
•Created by McPizza on 9/8/2023 in #help
Subqueries with INSERT - errors
I'm trying to create an insert that uses a subquery
Getting type errors on orgId, seems its not detecting correct type of sq.id
If I explicitly set sq.id to a number, no more errors
Still need to queries though....
4 replies
DTDrizzle Team
•Created by McPizza on 9/7/2023 in #help
Relationships: Self one-one & one-many
9 replies
Calling a tRPC service from another tRPC service
I have 2 services (App1 and Service2)
App1 is client facing and uses trpc well
But occasionally App1 backend needs to call a procedure on Service2
Should I just use the vanilla client on App1 backend and import types/context from Service2?
p.s. this is not Next ecosystem
5 replies