drizzle-team / drizzle-orm

Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
https://orm.drizzle.team
Apache License 2.0
21.57k stars 490 forks source link

[FEATURE]: drizzle studio for planetscale js driver #932

Open ryoppippi opened 11 months ago

ryoppippi commented 11 months ago

Describe what you want

I need to planetscale support using planetscale's js driver. I know we can use pscale connect with mysql2, but js driver achieves better DX

JesseKoldewijn commented 11 months ago

This is already present, see the repo below for a working example of drizzle with the Planetscale serverless js driver:

ryoppippi commented 11 months ago

@JesseKoldewijn The last one you shared is using mysql2, not Planetscale js driver. I know we can use Planetscale js driver to connect db, and use drizzle studio with mysql2+pscale connect, but I want to use drizzle studio with Planetscale js driver

JesseKoldewijn commented 11 months ago

Ah gotcha, was about to ask if you were specifically asking about drizzle-kit. That would be nice to see supported ngl ;)

AhmedNawaf commented 11 months ago

Can confirm It's working after the new release

ryoppippi commented 11 months ago

Still doesn't work