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

MongoDB – Create Collection In this chapter, we will see how to create a collection using MongoDB. The createCollection() Method MongoDB db.createCollection(name, options) is used to create collection. Syntax Basic syntax of createCollection() command is as follows − db.createCollection(name, options) In the command, name is name of collection to be created. Options is a document […]

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

MongoDB – Drop Database In this chapter, we will see how to drop a database using MongoDB command. The dropDatabase() Method MongoDB db.dropDatabase() command is used to drop a existing database. Syntax Basic syntax of dropDatabase() command is as follows − db.dropDatabase() This will delete the selected database. If you have not selected any database, […]

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

MongoDB – Advantages Any relational database has a typical schema design that shows number of tables and the relationship between these tables. While in MongoDB, there is no concept of relationship. Advantages of MongoDB over RDBMS Schema less − MongoDB is a document database in which one collection holds different documents. Number of fields, content […]