Home / Companies / MongoDB / Blog / December 2018

December 2018 Summaries

3 posts from MongoDB

Filter
Month: Year:
Post Summaries Back to Blog
The official MongoDB Go Driver has been released and is now generally available, providing a feature-complete and production-ready interface to MongoDB databases using the Go programming language. The tutorial covers installing the driver, connecting to a MongoDB database, using BSON objects in Go, sending CRUD operations to MongoDB, including inserting documents, updating documents, finding documents, and deleting documents. The tutorial also provides guidance on best practices for using the driver and offers resources for further learning.
Dec 13, 2018 1,618 words in the original blog post.
BSON is a binary version of JSON and has many more data types than JSON, allowing for more precise querying. BSON includes `Minkey`, `Maxkey`, `Binary Data`, `TimeStamp`, `Date`, `ObjectID`, `Regular Expression`, `JavaScript`, `Double`, `Int`, `Long`, and `Decimal128` as its primary data types, which cannot be found in JSON. These additional data types provide more precision and flexibility for storing and querying data in MongoDB. BSON also provides specialized number types such as `Int`, `Long`, and `Decimal128` to handle integer values with varying degrees of precision.
Dec 12, 2018 697 words in the original blog post.
Boosting JavaScript: From MongoDB's shell to Node.js` is an article about moving scripts from MongoDB's JavaScript-powered shell to Node.js, offering a chance to utilize an enormous range of tools and libraries. The author provides a step-by-step guide on how to achieve this with minimal extra lines of code, including using the `mongodb` native driver and `yargs.js` for handling arguments, and implementing asynchronous programming with `await`. The article also touches upon optimizing the script to make it more efficient, such as waiting for each inserted document to complete before moving on to the next one.
Dec 05, 2018 1,570 words in the original blog post.