One. MongoDB Insert Document Insert () methodTo insert data into a MongoDB collection, you need to use the MongoDB Insert () or Save () method.GrammarThe basic syntax for the Insert () command is as follows:>db. Collection_name.insert
Original link http://www.cnblogs.com/zhangzili/p/4975080.htmlMongoDB knowledge points at a glance1. Start the MongoDB database:Go to the MongoDB installation directory and execute the following commandC:\Program
MongoDB Quick Start1. MongoDB Introduction
MongoDB is a cross-platform NoSQL document-type database that stores data in the form of Key_Value pairs.
NoSQL (not only SQL) databases generally refer to non-relational databases.1.1 features of NoSQL
Insert Document: Insert () method
To insert data into the MongoDB collection, you need to use the MongoDB Insert () or Save () method.
Grammar:
The basic syntax for the Insert () command is as follows:
>db. Collection_name.insert
Insert () methodTo insert data into a MongoDB collection, you need to use the MongoDB Insert () or Save () method.GrammarThe basic syntax for the Insert () command is as follows:>db. Collection_name. Insert(document) Example>Db.MyCol.Insert({
1. shardingConcept: In MongoDB There is another cluster, that is, sharding technology, can meet the needs of a large number of MONGODB data volume growth.When MongoDB stores massive amounts of data, a machine may not be enough to store data enough
ConceptMongoDB is a cross-platform, document-oriented database that delivers high performance, high availability, and scalability. MongoDB work in the collection and document concept.
What is NoSQL?NOSQL, the full name is not just SQL, refers to
When it comes to MongoDB's architecture, it is inevitable to compare it with relational databases. Here we take MySQL for example, we make some comparisons:From the logical structure of the comparison:
MySQL Hierarchy concept
MongoDB basic operation learning notes
Record the basic operations of MongoDB today. This is only the most basic operation, so it should be mastered.
Database
A database is a collection of physical containers. Each database has its own file system.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.