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
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