kndndrj / nvim-dbee

Interactive database client for neovim
GNU General Public License v3.0
755 stars 51 forks source link

Error for postgres: Mux.GetAdapters: no driver registered for provided type alias #128

Closed rafaelsmgomes closed 3 months ago

rafaelsmgomes commented 3 months ago

I have postgres driver installed, but I don't know what do I need to do to get it picked up by dbee.

name: test-db
type: postgres
url: <my-connection-string>

I even watched your video and I basically followed that same steps.

This is the full error:

[core]: failed registering source: persistence.json function DbeeCreateConnection[1]..remote#define#request, line 2: Vim(let):Error invoking '0:function:DbeeCreateConnection' on channel 3: adapters.NewConnection: Mux.GetAdapters: no driver registered for provided type alias

rafaelsmgomes commented 3 months ago

Turns out my persistence.json file was corrupted.