Advanced Queries in MongoDB

Introduction By the time you have reached this tutorial, you have probably built a few collections using the mongo shell and practiced inserting documents into a database. Now it’s time to take a deeper dive into finding the specific data you need. We will go beyond the basic find() method and learn some qeury kung … Continued

Build A MongoDB GUI App Using Kivy And Python (Part 2)

Introduction This article demonstrates how to build a GUI application for MongoDB, that can be deployed to multiple platforms, using the Kivy framework and Python programming language in less than 200 lines of code. The completed application in this article will allow the user to access the databases on a MongoDB localhost server, and retrieve … Continued

Build A MongoDB GUI App Using Kivy And Python (Part 1)

Introduction This article demonstrates how to build a GUI application for MongoDB, that can be deployed to multiple platforms, using the Kivy framework and Python programming language in less than 200 lines of code. This is Part 1 of a two-part series. This first article will show how to setup your app’s environment, and how … Continued

MongoDB Encryption Fundamentals

Introduction If your organization is using MongoDB, data security is likely to be one of your top priorities. Fortunately, MongoDB is the clear leader among other players in the NoSQL space when it comes to encryption. In this article, we’ll discuss some MongoDB encryption fundamentals and explain how MongoDB encryption is designed to optimize performance. … Continued

MongoDB Security Best Practices

Introduction When you’re getting started with MongoDB, you don’t always stop to think about certain challenges you may encounter along the way. One important area of concern is security– identifying potential loopholes and knowing how to shield your database from threats should be one of your top priorities. Fortunately, there are a number of best … Continued

Working with a Collection in MongoDB

Introduction This is beginner’s guide to building collections within MongoDB. We will show you basic commands to use when working with collections. Interesting fact: MongoDB will accommodate large documents of up to 16 MB in collections. While we are not going to be building a large collection today, it’s good to know there are limitations … Continued

How to Create and Drop a Database in MongoDB

Introduction If you are new to MongoDB, then you are probably going to start with a new database. Interesting fact: MongoDB doesn’t have a command to create a database. It’s “auto-magically” created the first time a value is saved into a collection. This article will show you how to create both a database and a … Continued

Unique Check in MongoDB

Introduction Sometimes in MongoDB, we may need a field that should contain only unique values. That means duplicate values are not allowed for a particular field throughout the collection. Such situations can happen often. For example, suppose there is a database that contains the details about all the employees working in a particular field. Each … Continued

MongoDB Find and Distinct

Introduction One of the most important operations in any kind of database is retrieving data. Data can be retrieved all at once or filtered. MongoDB provides the find operation to retrieve data. The data is stored in documents, which in turn are stored in collections. By default, the find operation will retrieve all the documents … 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.