How To Update A MongoDB Document Using The Golang Driver

Introduction If you have data stored in MongoDB, there’s a good chance you’ll need to update certain documents from time to time. Fortunately, the Golang driver for MongoDB makes it quick and easy to accomplish this task. In this article, we’ll show you exactly how to update a MongoDB document with Golang using the mongo-go-driver. … Continued

How to Update a MongoDB Document Using the Golang Driver

Introduction The tutorial will explain the UpdateOne() API method to update a document with the Mongo-go-driver using the official Golang driver for MongoDB. It will also show how to update a MongoDB document with its BSON _id. In order to update a MongoDB document with Golang, both software packages must be installed on the same … Continued

How to Migrate MONGODB-CR to SCRAM-SHA-1

Introduction This tutorial will explain how to perform MongoDB authentication, perform migration of MONGODB-CR to SCRAM-SHA-1 and explain the MONGODB-CR and SCRAM-SHA-1 authentication mechanisms. Know that the release of MongoDB version 3.0 has effectively replaced MONGODB-CR with SCRAM-SHA-1. As a result of this release, MONGODB-CR has now been deprecated. Users are strongly encouraged to upgrade … Continued

Learn How to Secure MongoDB Community Version using Authentication Part 3

Introduction This is part three of the tutorial “Learn How to Secure MongoDB Community Version using Authentication.” Part two of this series showed how to enable the SCRAM-SHA-1 authentication mechanism and the X.509 authentication mechanism. This section will demonstrate how to enable the remaining final two MongoDB authentication mechanisms of Keyfile-based replica set authentication and … Continued

How To Perform Simple SELECT SQL basics in CockroachDB

Introduction If you’re using CockroachDB to store and access your data, you’ll need to know how to perform a variety of different queries. Before you can build and execute complex queries, however, it’s important to understand the basics. In this article, we’ll provide instructions for creating queries using the SELECT SQL statement and ordering query … Continued

How To Use Python To Download Photos From An Elasticsearch Index

Introduction This tutorial will demonstrate how to store an image on an Elasticsearch index and embed its raw encoded data and the EXIF meta data into an image using Python’s PIL and Piexif libraries. Examples will include how to export an elasticsearch image with python, export elasticsearch documents with python, convert base64 to pil images, … Continued

How to Update Many MongoDB Documents Using the Golang Driver

Introduction The tutorial will explain how to use the UpdateMany() method of the official Golang driver (mongo-go-driver) for MongoDB for updating multiple MongoDB documents in a single API call. MongoDB, Golang and the official Golang driver for MongoDB must all be installed on the same machine in order to update MongoDB documents with Go and … Continued

Should you do Full or Incremental Backups

Introduction Backing up a database is an essential task for a DBA. It positively affects data integrity and accessibility. An image copy backup can be incremental or full. Because database and application requirements vary, it’s important to know the difference between the two backup types, so that you can use the most appropriate method to … Continued

Keep in the know!

Subscribe to our emails and we’ll let you know what’s going on at ObjectRocket. We hate spam and make it easy to unsubscribe.