仅有的幸福2017-04-28 09:08:11
Document type means that the data we store is a collection of key-value pairs, the key is a string, and the value can be any type in the data type collection, including arrays and documents. We call this data format "[BSON] "That is, "Binary Serialized dOcument Notation."
If you want to know more about MongoDB, you can read this article for a comprehensive summary of Mongodb. People who want to learn mongodb can start here!
The article is very long, it is recommended to have melon seeds ready to read
習慣沉默2017-04-28 09:08:11
It means you can store formatted data like json. .
Each document is a column of data in a relational database
Newbies understand
怪我咯2017-04-28 09:08:11
Each piece of data in a document database is like an independent document. For example, for an article web page, its articles and its comments are stored together in a json document and are an independent entity.
It will be very convenient to read data from the background to the front desk. You can directly read a json from the database to the front desk, and the front desk can display it directly. In this way, there is no need to slow down the correlation like a relational database.
世界只因有你2017-04-28 09:08:11
If json is used to describe it, it can be understood as an object. It's just like the objects stored in your program, but the location is different.
怪我咯2017-04-28 09:08:11
I think document, that is, document, can be understood as equivalent to the row of a relational database, and collection is equivalent to the table of a relational database.
我想大声告诉你2017-04-28 09:08:11
Is it a file system similar to the file id corresponding to the file?