Sakib
Explore posts from serversDTDrizzle Team
•Created by Sakib on 3/6/2024 in #help
TypeErr: BatchItem<sqlite>[] not assignable to readonly [BatchItem<sqlite>, ...BatchItem<sqlite>[]]
Hi, I'm trying to use drizzle/d1 (cloudflare worker) for batch. But I'm getting type error.
1 replies
DTDrizzle Team
•Created by Sakib on 12/30/2023 in #help
Typescript not showing where field in query. Query working but ts throwing error
Hi, I have a query like below
// relations.ts
I'm using drizzle-orm: ^0.29.1
4 replies
DTDrizzle Team
•Created by Sakib on 9/20/2023 in #help
Which typescript type should I use for select?
Hi, this question might be confusing. Let me explain the problem, I'm building a common function for drizzle().select() somethine like
you can see I'm getting {[x:string]:never} when I pass {id:number;data:string} on select param.
5 replies