Category Archives: mongodb

Khóa học miễn phí MongoDB – Replication nhận dự án làm có lương

MongoDB – Replication Replication is the process of synchronizing data across multiple servers. Replication provides redundancy and increases data availability with multiple copies of data on different database servers. Replication protects a database from the loss of a single server. Replication also allows you to recover from hardware failure and service interruptions. With additional copies […]

Khóa học miễn phí MongoDB – Drop Collection nhận dự án làm có lương

MongoDB – Drop Collection In this chapter, we will see how to drop a collection using MongoDB. The drop() Method MongoDB”s db.collection.drop() is used to drop a collection from the database. Syntax Basic syntax of drop() command is as follows − db.COLLECTION_NAME.drop() Example First, check the available collections into your database mydb. >use mydb switched […]