数据怎么存入MongoDB

来源:互联网 发布:网络黑名单 编辑:程序博客网 时间:2024/05/17 20:27

原文地址:https://www.mongodb.com/faq

How is data stored in MongoDB?

Back to Table of Contents

Data in MongoDB is stored in BSON documents – JSON-style data structures. Documents contain one or more fields, and each field contains a value of a specific data type, including arrays, binary data and sub-documents. Documents that tend to share a similar structure are organized as collections.

It may be helpful to think of documents as analogous to rows in a relational database, fields as similar to columns, and collections as similar to tables.

Learn more in the MongoDB Architecture Guide.

0 0
原创粉丝点击