vim-dadbod-ui
vim-dadbod-ui copied to clipboard
Support for Groups in connection file?
Thanks for the plugin, it is great!
I was adding connections, and was wondering if there is the chance that grouping of connections might be supported.
Not sure if this is already a feature that is supported, as the JSON payload in the connections file looks pretty flat.
I was checking in, as it might be useful to be able to setup groups, or even a hierarchy, of connection strings.
Right now, I am doing DB Connection naming, and re-arranging JSON in the connections file to get things "grouped" by arranging the entries in the JSON list, and wanted to see it having nested JSON was a possibility.
I was wondering if there is already support, or it might be straightforward enough to add, to get something like:
App 1
- Dev
- instance 1
- ...
- instance n
- Prod
- instance 1
- ...
- instance m
App 2
- Dev
- instance 1
- ...
- instance x
- Prod
- instance 1
- ...
- instance y
Simply grouping the connections by something, while still adding them as before, should be fairly straightforward. Figuring out database name like mentioned in https://github.com/kristijanhusak/vim-dadbod-ui/issues/123 would be a bigger effort.