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

11lluz10n4/21/2023
I'm trying to use drizzle with cloudflare d1 but getting this error.

Any help?
Bbloberenober4/21/2023
you need to use D1 client, and you use better-sqlite3
Bbloberenober4/21/2023
check D1 docs
11lluz10n4/21/2023
is it possible to use it with remix.run?
Bbloberenober4/21/2023
I don't see why not
11lluz10n4/21/2023
how can i access d1 client though
Bbloberenober4/22/2023
check D1 docs
Bbloberenober4/22/2023
it's not related to Drizzle