How to do a Join using the MongoDB Shell

Introduction If you’re coming from a relational database and trying MongoDB for the first time, you might be wondering how you do a join in a NoSQL database technology. Joins are when you have two tables or collections with a common field where you can gather information from both tables/collections with one join query. For … Continued

How to Drop a MongoDB Collection with NodeJS

Introduction If you’re working with MongoDB through NodeJS and Javascript and you need to know how to drop a collection, we’ll show how to do it in this article. Be aware that this will delete all documents from the collection so be sure you really want to do the collection before proceeding with the steps. … Continued

How to Import a CSV into a Collection using the MongoDB Shell

Introduction If you’re transitioning to using MongoDB you might be wondering how you move your existing CSV data into MongoDB collection. This short tutorial will show you how to do it step-by-step. It’s a very important process but luckily the process is not complicated so please follow along as we show you how. Prerequisites For … Continued

How to Create an Index using the MongoDB Shell

Introduction Indexing data in a database makes querying for that information much more efficient. Without indexing MongoDB must scan every document individually while indexiing greatly reduces the number of documents MongoDB must scan. How does an index work? An index works by storing a specified field ordered by value so they’re efficiently searchable. The fields … 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.