sql-language-server icon indicating copy to clipboard operation
sql-language-server copied to clipboard

`json adapter` mode for autocompletion with multiple connections

Open avneeshn opened this issue 2 years ago • 0 comments

Hi Currently, for the json adapter approach for autocompletion, I wanted to know how can it be made to work for multiple connections?

I am currently implementing my own magic command to enable language-server features. I can see the config supports multiple connections. For eg below:

{
    "language_servers": {
        "sql-language-server": {
            "serverSettings": {
                "sqlLanguageServer": {
                    "connections": [
                        {
                            "name": "sqlite-conf",
                            "adapter": "sqlite3",   
                            "filename": "/tmp/demodb.sqlite"
                        }
                    ]
                }
            }
        }
    }
}

Just wanted to know how does it work and how to implement it on my side?

P.S. I am in JupyterLab env

avneeshn avatar Aug 28 '23 17:08 avneeshn