First of all, thank you for awesome plugin. It makes my life significantly better.
I am resolving database url dynamically for multiple databases using CLI command that generates temporary credentials as follows:
vim.g.dbs = vim.tbl_map(
function(database)
return {
name = database,
url = function()
return vim.fn.system('<command obtaining connection string>')
end
}
end,
staging_databases
)
The problem is that when I open DBUI, the url is resolved for all the databases. Since our company has 20+ databases and generating credentials takes few seconds, this takes a long time to just open UI.
Would it be possible to defer url resolution until actual connection to the database?
First of all, thank you for awesome plugin. It makes my life significantly better.
I am resolving database
urldynamically for multiple databases using CLI command that generates temporary credentials as follows:The problem is that when I open
DBUI, theurlis resolved for all the databases. Since our company has 20+ databases and generating credentials takes few seconds, this takes a long time to just open UI.Would it be possible to defer
urlresolution until actual connection to the database?