Post Views: 1
Tag: mongodb
MongoDb – Data Modeling
Document Structure The key decision in designing data models for MongoDB applications revolves around the structure of documents and how the application represents relationships between
Mongoose Schema Basics
Understanding Schemas A "Schema" can be a tough thing to understand at first, but in reality it’s pretty straightforward. A Schema for a database is
Mongoose CRUD (Create, Read, Update, Delete)
We’ve covered the basics of making queries in the MongoDB Shell, but since we’ll mostly be writing our queries in our server’s JavaScript code using
MongoDB Overview – Install – Run
A database is simply a storage mechanism for information. In the same way a warehouse stores physical inventory in rows, on shelves, in boxes, etc.,
Type of Schemas in MongoDB
On mongoDB using mongoose you can use two type of Schema for nested Schema. One is Embedded Schema. Another is Reference Schema. Embeded scema Embeded
MongoDB Indexing
MongoDB Indexing An index in MongoDB is a special data structure that holds the data of few fields of documents on which the index is
limit( ) and skip( ) method – MongoDB
MongoDB – limit( ) and skip( ) method In this tutorial we will learn how to use limit() and skip() methods in the MongoDB Query.
MongoDB Projection
MongoDB Projection In this tutorial, we will learn another interesting topic of MongoDB which is MongoDB Projection. This is used when we want to get
Delete Document from a Collection – MongoDB
MongoDB Delete Document from a Collection The remove() method is used for removing the documents from a collection in MongoDB. Syntax of remove() method: db.collection_name.remove(delete_criteria)