Ben-xD
Explore posts from serversCDCloudflare Developers
•Created by Ben-xD on 11/5/2024 in #vitest-integration-beta
Is anyone able to debug vitest tests in
And 7 upvotes for it: https://discord.com/channels/595317990191398933/1218150105777963101/1227620451384295644
Cloudflare replied but that person has already left cloudflare
2 replies
CDCloudflare Developers
•Created by Ben-xD on 11/5/2024 in #vitest-integration-beta
Is anyone able to debug vitest tests in
Someone *@rcoup ) has already asked this earlier this year, but there was no answer? https://discord.com/channels/595317990191398933/1218150105777963101/1232287763206897665
2 replies
DTDrizzle Team
•Created by tc on 11/6/2023 in #help
drizzle-zod with custom types
I answered my question at https://stackoverflow.com/a/78849718/7365866
5 replies
DTDrizzle Team
•Created by tc on 11/6/2023 in #help
drizzle-zod with custom types
Also posted on https://stackoverflow.com/questions/78849562/how-to-use-drizzle-zod-with-custom-types
5 replies
DTDrizzle Team
•Created by tc on 11/6/2023 in #help
drizzle-zod with custom types
I've got a highly related problem, if you don't mind 🙂
I'm using a custom type (e.g. citext), but drizzle-zod will return that field as
unknown
instead of string
. Does anyone know why?
5 replies
DTDrizzle Team
•Created by Ben-xD on 7/29/2024 in #help
How to convert filters (e.g. eq(), ne(), lte(), like()) into SQL string, for use in sql.raw()
ahh i know why that happens. Basically, the filter queryParams.startTime is sometimes undefined: it's
number | undefined
. I just need to use sql
a bit better5 replies
DTDrizzle Team
•Created by Ben-xD on 7/29/2024 in #help
How to convert filters (e.g. eq(), ne(), lte(), like()) into SQL string, for use in sql.raw()
I tried sql too, but it errors with
error: syntax error at or near ")"
5 replies
DTDrizzle Team
•Created by Ben-xD on 7/29/2024 in #help
How to convert filters (e.g. eq(), ne(), lte(), like()) into SQL string, for use in sql.raw()
This gets me halfway there: https://orm.drizzle.team/docs/sql#convert-sql-to-string-and-params
But the problem is the params I passed into the filters (e.g. eq(user.id, userId)) is not added to the string.
5 replies