kristijanhusak / vim-dadbod-ui

Simple UI for https://github.com/tpope/vim-dadbod
MIT License
1.54k stars 94 forks source link

Support for listing all database to connected database server #205

Open ljseng opened 1 year ago

ljseng commented 1 year ago

Wish to be able to show all databases to connected database server. More info here

DBeaver have similar feature. More information here

In the DBUI drawer, probably can have a structure like this

my_db_server1
    Databases
        db1
            New query
            Saved queries
            Schemas
        db2
            New query
            Saved queries
            Schemas
        db3
            New query
            Saved queries
            Schemas
my_db_server1
    Databases
        db1
            New query
            Saved queries
            Schemas
        db2
            New query
            Saved queries
            Schemas
        db3
            New query
            Saved queries
            Schemas

Save a lot of time for database server which have a dozen databases installed and need to visit each of them frequently

titaniumtraveler commented 1 month ago

Depending on database you can already do that easily. For example for postgresql, you can just use \list as content of a query and it gives you the list as result of your query.