Swap database on current tab

Craig shared this idea 6 years ago
Completed

Apologies if this is a duplicate.

I write scripts for migrations and I test them out on a local copy of production data. Then, when I'm ready, I switch over to production and execute the migration. To change the database I have to close the tab and open some collection in the production database and then reopen my migration script.

Instead, I would like a way to change my database without closing my tab. Perhaps I could click on the text above the edit window, "localhost:27017" and next to that "production". These would be dropdowns that would allow me to switch the database host and the current database. Again, I could do this without closing the current tab.

I realize this might have implications for the connection tree panel.

Leave a Comment
 
Attach a file