Matan Nahmani
Explore posts from serversDTDrizzle Team
•Created by Matan Nahmani on 10/24/2023 in #help
is there a way to wrap a column select with ST_AsText or any other sql statement?
I've created a custom column type but the column return by default a binary data, instead i want to wrap the select automatically with ST_AsText to human readable text.
10 replies
calling TRPCProxyClient from inside trpc procedure fails on vercel route handlers edge runtime
i setup my client as following:
and then inside a trpc procedure i'm trying to call it as following:
this result in request always failing with an error of:
any ideas how to solve this?
2 replies
DTDrizzle Team
•Created by Matan Nahmani on 10/3/2023 in #help
createInsertSchema forgets .$type() on text json mode fields in sqlite
for example:
foodThemes: text("foodThemes", {
mode: "json",
}).$type<foodThemes[]>(),
foodThemes will be referenced as JSON
2 replies