Category: MongoDB

  • MongoDB User and Role Management

    A big feature of a database is user and role management. MongoDB user and role management is no different. In this article we are going to go over managing users for any number of databases in your MongoDB instance. Creating the MongoDB admin user First, you need to create a user. Although MongoDB user management…

  • MongoDB replace substring in field

    Many times you will find yourself needing to do a MongoDB replace in a text field of a MongoDB collection. This can be a frustrating exercise as the syntax is not so straightforward. There are generally two conditions that you will likely need to replace the data in a field –> Where you just want…