Updating your first document in MongoDB

Once a BSON document is created we may need to update some of its fields. In that case, we have to execute update/upsert queries on the MongoDB collection, which we will be covering in this recipe.

Get Go Web Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.