-
I recently started to learn sql, so I started to look for options to execute some queries and view the database right inside nvim. I found two options that I couldn't find any comparison on. This plugin and dadbod. Can somebody explain when to use which one? Or it doesn't really matter? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It doesn't really matter. Here is a vague comparison:
|
Beta Was this translation helpful? Give feedback.
-
@andradei gave pretty good review. I would add that nvim-dbee and dadbod ecosystem just feel different. DBee feels like encapsulated experience. It opens in a new tab and allows you to work within it's own global project.
Dadbod is a plugin that allows you to execute your buffer or selected lines and show result in a bottom panel. |
Beta Was this translation helpful? Give feedback.
It doesn't really matter. Here is a vague comparison:
nvim-dbee
might be much faster due to it's core being written in Go vsdadbod
's vimscript (don't take my work for it, also performance at the plugin level might not be that important)nvim-dbee
's UI a tiny bit nicer than https://github.com/kristijanhusak/vim-dadbod-uinvim-dbee
comes with UI in the plugin while dadbod requires an extra plugin (mentioned above) but that's not a big dealdadbod
, butnvim-dbee
has an e…