November 2019 Summaries
6 posts from MongoDB
Filter
Month:
Year:
Post Summaries
Back to Blog
To enhance the security of its cloud-based database platform, MongoDB has introduced passwordless authentication using X.509 certificates for MongoDB Atlas clusters with a minimum capacity of M10+. This feature reduces security risks by authenticating directly from certificate files, eliminating the need for passwords and minimizing phishing attacks. The new "Easy" option auto-generates certificates to authenticate users, while the "Advanced" option allows users to upload their existing CA certificate and integrate it with LDAPS for enhanced security. With this update, MongoDB continues to push the boundaries of innovation in data security, offering customers a range of advanced features to protect their sensitive data.
Nov 25, 2019
359 words in the original blog post.
The tutorial discusses reading documents from a MongoDB database using the Golang programming language and the MongoDB Go Driver. The author provides examples of how to read all documents, a single document, query documents based on certain criteria, sort documents at a database level, and more. The tutorial emphasizes the importance of knowing what fields exist in each collection when crafting queries to return only the data that is needed.
Nov 21, 2019
1,264 words in the original blog post.
The aggregation framework is a powerful tool for analyzing data stored in MongoDB. It allows users to create an aggregation pipeline that consists of one or more stages, each transforming the documents and passing the output to the next stage. The framework has various stages available, including $match, $group, $sort, and $limit. In this tutorial, we used the Aggregation Pipeline Builder in Atlas to create a pipeline for finding the cheapest suburbs in Sydney, Australia. We then executed the pipeline from inside a Node.js script using the aggregate() method of the MongoClient class. The script printed the ten cheapest suburbs with their average prices.
Nov 20, 2019
2,399 words in the original blog post.
Neal Beeken is a graduate student finishing up his Master's Degree in Computer Science at Stony Brook University, where he also completed his undergraduate degree. He has worked as a teaching assistant for a low-level programming class and previously interned at MongoDB, where he contributed to the Cloud Monitoring team. His academic background focused on low-level operating systems and C programming, which provided him with valuable skills in terms of robust code development and problem-solving. At MongoDB, Neal worked on a full-stack project involving MongoDB access tracking for MongoDB Atlas, creating a webpage that allows users to view authentication attempts for their database. He has found the experience at MongoDB to be impactful due to its collaborative environment, well-documented processes, and diverse community, which have allowed him to grow both professionally and personally.
Nov 19, 2019
665 words in the original blog post.
The MongoDB Go driver is used to connect to a cluster and create handles to collections, which are used to insert new documents into the database. The `InsertOne` function can be used to create a single document, while the `InsertMany` function can be used to create multiple documents in a single request. The data structures used by the MongoDB Go driver include `bson.D`, which represents a JSON-like document, and `bson.A`, which represents an array. The `InsertOneResult` object returned by `InsertOne` contains information about the newly created document, including its `_id`. The `InsertManyResult` object returned by `InsertMany` contains an array of inserted IDs.
Nov 14, 2019
1,278 words in the original blog post.
The tutorial provides a quick start into MongoDB development with the Go programming language. It covers how to establish connections between the language and the database, including CRUD operations, aggregation queries, change streams, and multi-document ACID transactions. The tutorial assumes that the user has a MongoDB Atlas cluster created and is using Go 1.13 or newer. The code is written in Visual Studio Code, and the author uses a forever-free tier of MongoDB Atlas for development. The tutorial covers how to install the MongoDB Go Driver, connect to the Atlas cluster, ping the cluster, list available databases, and defer closing the connection.
Nov 07, 2019
992 words in the original blog post.