Open Eccenux opened 11 months ago
Would be very useful to have an ability to define what is the default connection / database for a given file.
I have a lot of SQL files some of which work on a specific database. Utility scripts for testing and debugging.
So maybe the extension could read some comment like this:
/* { "vscode-postgres.defaultConnection": "dev", "vscode-postgres.defaultDatabase": "bus_library", } */
Connection might be optional (defaults to workspace default):
/* { "vscode-postgres.defaultDatabase": "test_claims", } */
Would be very useful to have an ability to define what is the default connection / database for a given file.
I have a lot of SQL files some of which work on a specific database. Utility scripts for testing and debugging.
So maybe the extension could read some comment like this:
Connection might be optional (defaults to workspace default):