Clear, practical technology insights About · Contact

MongoDB

Explore the latest MongoDB articles and guides at TipsMake, presented clearly and practically. Follow these practical guides and solutions to help you master your technology, software, and your work.

Latest MongoDB Articles Page 2

Capped Collection in MongoDB
MongoDB

Capped Collection in MongoDB

Capped collections are fixed-sized Circular Collection that follow the insert order to enhance the performance of create, read, and delete operations.

16 July 2026 · 3 min read
Overview of MongoDB
MongoDB

Overview of MongoDB

MongoDB is a cross-platform database, operating on the concepts of Collection and Document, it provides high performance, high availability and easy scalability.

16 July 2026 · 3 min read
Advantages of MongoDB
MongoDB

Advantages of MongoDB

Any Relation Database has a unique Schema Design to index the data tables and relationships between those tables. Meanwhile in MongoDB there is no concept of relationship.

16 July 2026 · 2 min read
Install MongoDB
MongoDB

Install MongoDB

Instructions for installing MongoDB on Windows.

16 July 2026 · 5 min read
Data modeling in MongoDB
MongoDB

Data modeling in MongoDB

Data in MongoDB has a flexible Schema. Documents in the same Collection need not have the same set of fields or structures, and common fields in Collection Documents can keep different data types.

16 July 2026 · 3 min read
Create Database in MongoDB
MongoDB

Create Database in MongoDB

The use DATABASE_NAME command in MongoDB is used to create the database. This command will create a new database, if it does not exist yet, otherwise, this command will return the existing database.

16 July 2026 · 2 min read
Delete Database in MongoDB
MongoDB

Delete Database in MongoDB

The db.dropDatabase () command in MongoDB is used to delete an existing database.

16 July 2026 · 1 min read
Create Collection in MongoDB
MongoDB

Create Collection in MongoDB

Method db.createCollection (name, options) in MongoDB is used to create Collection.

16 July 2026 · 3 min read
Delete Collection in MongoDB
MongoDB

Delete Collection in MongoDB

The db.collection.drop () method in MongoDB is used to delete a Collection from the database.

16 July 2026 · 1 min read
Data type in MongoDB
MongoDB

Data type in MongoDB

MongoDB supports many different data types. The following are some typical data types.

16 July 2026 · 2 min read
Insert Document in MongoDB
MongoDB

Insert Document in MongoDB

To insert data into Collection in MongoDB, you need to use the insert () or save () method.

16 July 2026 · 3 min read
Query Document in MongoDB
MongoDB

Query Document in MongoDB

To query data from Collection in MongoDB, you need to use the find () method in MongoDB.

16 July 2026 · 4 min read
Update Document in MongoDB
MongoDB

Update Document in MongoDB

The update () method updates the values ​​in the existing Document while the save () method replaces the existing Document with the transmitted Document in that save () method.

16 July 2026 · 3 min read
Delete Document in MongoDB
MongoDB

Delete Document in MongoDB

The remove () method in MongoDB is used to delete the Document from Collection. The remove () method takes two parameters. The first parameter of the deletion criteria determines the Document to delete, and the second parameter is justOne.

16 July 2026 · 2 min read
Projection in MongoDB
MongoDB

Projection in MongoDB

In MongoDB, projection's meaning is to select only the necessary data instead of selecting the entire data of a Document. If a Document has 5 fields and you only need 3 fields, you should only select 3 fields from that Document.

16 July 2026 · 2 min read
Limit records in MongoDB
MongoDB

Limit records in MongoDB

To limit the records in MongoDB, you need to use the limit () method. The limit () method takes a parameter in a numeric format, which is the Document number you want to display.

16 July 2026 · 2 min read
Sort records in MongoDB
MongoDB

Sort records in MongoDB

To sort documents in MongoDB, you need to use the sort () method. The sort () method takes a Document containing a list of fields with their sort order. To determine the sort order, 1 and -1 are used. 1 is used for ascending order, while -1 is used for descending order.

16 July 2026 · 2 min read
Index (Mong) in MongoDB
MongoDB

Index (Mong) in MongoDB

Index (Index) supports the resolution of queries more efficiently. Without an index, MongoDB must scan through all a Collection's Document to select the Documents that connect to the query command. This scan may be ineffective and requires MongoDB to handle a large amount of data.

16 July 2026 · 4 min read