yj7o5/d1-vscode

How can I connect to local D1 instances?

michael opened this issue · 3 comments

Hey, super useful tool! I managed to set it up to run queries against the D1 instances on Cloudflare, but would be cool if I could do the same for local instances, created through Wrangler. How does that work? Thanks for your help. 🙏

yj7o5 commented

Hi, maybe I am not following exactly what exactly you mean by the "local instances" via wrangler. If you could clarify a bit the use case. Thanks

yj7o5 commented

Hmm actually nvm I see. Yea I think would be useful to link it to local instances, will try to see to get it incorporated.

https://developers.cloudflare.com/d1/learning/local-development/#start-a-local-development-session

Yeah, exactly that. Not urgent, just would be a nice to have. :)