You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be great to also be able to access local databases when using Wrangler.
Wrangler stores its local SQLite database at sqlite3 .wrangler/state/v3/d1/miniflare-D1DatabaseObject/ab43d37f48135ef454cdb4895268c4c8817c5f76a0ae8db115f478b15ca263a5.sqlite.
When starting d1-console with --local or -l, it should connect to the local database instead (no need for API keys). Most of the implementation would be in queryDatabase or queryDatabaseApi), where instead of fetch you would access the local SQLite database using https://www.npmjs.com/package/better-sqlite3
The text was updated successfully, but these errors were encountered:
Would be great to also be able to access local databases when using Wrangler.
Wrangler stores its local SQLite database at
sqlite3 .wrangler/state/v3/d1/miniflare-D1DatabaseObject/ab43d37f48135ef454cdb4895268c4c8817c5f76a0ae8db115f478b15ca263a5.sqlite
.When starting
d1-console
with--local
or-l
, it should connect to the local database instead (no need for API keys). Most of the implementation would be inqueryDatabase
orqueryDatabaseApi
), where instead of fetch you would access the local SQLite database using https://www.npmjs.com/package/better-sqlite3The text was updated successfully, but these errors were encountered: