The Lone C++ Coder's Blog

The Lone C++ Coder's Blog

The continued diary of an experienced C++ programmer. Thoughts on C++ and other languages I play with, Emacs, functional, non functional and sometimes non-functioning programming.

Timo Geusch

4-Minute Read

<p>MongoDB has a handy command to rename a collection, <a href="https://docs.mongodb.com/manual/reference/method/db.collection.renameCollection/">db.collectionName.renameCollection().</a> There is currently no equivalent to rename a database. Now if we accept that from time to time, one positively, absolutely just <strong>has</strong> to rename a database in MongoDB, well, there are a couple of options. Unfortunately they aren’t quite as straight forward as single MongoDB command. All methods…

Recent Posts

Categories

About

A developer's journey. Still trying to figure out this software thing after several decades.