Argument of type 'Database' is not assignable to parameter of type 'D1Database'.

I'm trying to use drizzle with cloudflare d1 but getting this error. Any help?
5 Replies
bloberenober
bloberenober15mo ago
you need to use D1 client, and you use better-sqlite3 check D1 docs
1lluz10n
1lluz10n15mo ago
is it possible to use it with remix.run?
bloberenober
bloberenober15mo ago
I don't see why not
1lluz10n
1lluz10n15mo ago
how can i access d1 client though
bloberenober
bloberenober15mo ago
check D1 docs it's not related to Drizzle