vscode-sqltools
vscode-sqltools copied to clipboard
Setting connections with environment variables
I am trying to get this working:
"sqltools.connections": [
{
"previewLimit": 1000,
"server": "db",
"port": 5432,
"driver": "PostgreSQL",
"name": "db_container",
"database": "${env:POSTGRES_DATABASE}",
"username": "${env:POSTGRES_USER}",
"password": "${env:POSTGRES_PASSWORD}",
},
],
But I can get it work. Is there a way I can achieve this?