Using drizzle studio with local d1

Hey, I'm trying to connct drizzle studio to my local d1 database. I'm able to connect remote just fine, but attempting to access locally is confusing me. I get the attached error message, and the hint of "To execute on your local development database, pass the --local flag to 'wrangler d1 execute'" is nice, but I can't find any location in the config to actually make it append that --local flag.
No description
3 Replies
timothymiller
timothymiller11mo ago
I'm curious how to do this too. In the past, it works out of the box.
Alessandra
Alessandra11mo ago
I gave up and just have been using TablePlus within it's trial limitations for now and opening the d1 local sqlite file in it
Whit
Whit10mo ago
I have been struggling with this today. I found this but i still dont understand how to pass --local flag https://github.com/drizzle-team/drizzle-orm/discussions/1545
GitHub
How can I use Drizzle Studio with Cloudflare D1 in local environmen...
I am using Drizzle and Cloudflare D1 in my project and I like Drizzle a lot. And while I was trying Drizzle Studio, I found it connected to live database instead of local dev environment. I'd l...
Want results from more Discord servers?
Add your server