kndndrj / nvim-dbee

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

Add vertica adapter #97

Open shane-breeze opened 3 months ago

shane-breeze commented 3 months ago

Added an adapter for the Vertica database https://www.vertica.com/. This database is very similar to postgres.

I hope this PR is sufficient. I tried switching out my repo in my lazy.nvim config but I kept getting Mux.GetAdapters: no driver registered for provided type alias when trying to create a new vertica connection. Am I missing something?

kndndrj commented 2 months ago

Thanks for the contribution. I'll look into the error and let you know.

kndndrj commented 2 months ago

Hey @shane-breeze, can you try updating dbee and then instead of installing via lua hook, try running go build instead:

# at dbee root:
go build -C dbee/ -o $HOME/.local/share/nvim/dbee/bin/dbee

(substitute the out path with your binary location)

If it works then, this can be merged!

shane-breeze commented 1 month ago

Hi @kndndrj, sorry for not coming back to this sooner. Just tested your suggestion and it works a treat - managed to run queries on my vertica database in nvim-dbee