cloudflare / miniflare

🔥 Fully-local simulator for Cloudflare Workers. For the latest version, see https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare.
https://miniflare.dev
MIT License
3.78k stars 205 forks source link

Console for D1 #777

Closed JoyceBabu closed 1 month ago

JoyceBabu commented 2 months ago

Does Miniflare D1 include a console for running SQL queries directly?

edmundhung commented 1 month ago

Hi @JoyceBabu

No, Miniflare itself doesn't include a console for running SQL queries directly. However, you can access a SQL console on the D1 SQL Database page inside the Cloudflare dashboard.

If you have any future questions, I recommend checking out the workers-sdk repository, as this repository is focused on Miniflare v2, which is only receiving critical security updates.

Thanks!

JoyceBabu commented 1 month ago

Thank you. I managed to solve the issue by querying the SQLite file directly.