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

Using this extensions exposed API to connect to a database programmatically #18320

Open
SammyWhamy opened this issue Oct 27, 2024 · 1 comment

Comments

@SammyWhamy
Copy link

Is it supported to use this extensions API to connect to a database from a different extension?
I have been trying this and I was able to connect to a mssql db but not query it, as the exposed API is undocumented and doesn't seem particularly easy to use.
The reason I'm attempting to use this extension is that it seems nearly impossible to connect to a mssql db with windows authentication from javascript, as native modules are not supported in vscode extensions. Somehow it is being done here, and it would be amazing if there was a simple api exposed to query connected databases.

@Benjin
Copy link
Contributor

Benjin commented Nov 1, 2024

Hey @SammyWhamy! We don't explicitly support that at this time, but it may be something that we'll look into in the future.

@Benjin Benjin added the User-filed Filed by a public user label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants