Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudflare D1 Support #1446

Open
rogervila opened this issue Feb 26, 2025 · 1 comment
Open

Cloudflare D1 Support #1446

rogervila opened this issue Feb 26, 2025 · 1 comment
Labels
feature request New issue opened using "Feature request" template new-driver

Comments

@rogervila
Copy link

Is your feature request related to a problem? Please describe.

As a developer working with Cloudflare D1, I would need a seamless way to interact with their D1 databases directly from VS Code, because the only options atm are either to use the Cloudflare dashboard exclusively or maintain multiple tools for database management like Miniflare, leading to inefficient workflows and context switching.

Describe the solution you'd like

I propose adding native support for Cloudflare D1 to SQLTools, implementing:

  • Connection management for D1 databases
  • Query execution and result display
  • Table inspection and schema browsing
  • Integration with existing SQLTools UI patterns

Describe alternatives you've considered

Using external tools like D1 Manager

  • Requires switching contexts during development
  • Lacks integration with VS Code features
  • Doesn't support offline development workflows

Additional context

The implementation would follow SQLTools' driver architecture pattern, similar to existing drivers based on SQLite.

@rogervila rogervila added the feature request New issue opened using "Feature request" template label Feb 26, 2025
@gjsjohnmurray
Copy link
Collaborator

Are you proposing to implement the necessary new driver extension? If so, https://vscode-sqltools.mteixeira.dev/en/contributing/support-new-drivers is probably a good place to begin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New issue opened using "Feature request" template new-driver
Projects
None yet
Development

No branches or pull requests

2 participants