Date and lte
I'm adding Drizzle to my Sveltekit / Prisma stack and I can't figure out how to query by
lte()
date. I used the prisma extention to convert my prisma schema to drizzle and I got this for my invoices and I would like to querry like this:
which doesn't give me any typescript errors but does give me this error 'ERROR: operator does not exist: timestamp without time zone <= text\n'
how do I properly search by date?0 Replies