MongoDB CRUD介绍
MongoDB数据像JSON格式的键值对一样存储在文件中。MongoDB数据文件是BSON文件。
BSON:
A serialization format used to store documents and make remote procedure calls in MongoDB. “BSON”
is a portmanteau of the words “binary” and “JSON”. Think of BSON as a binary representation of JSON (JavaScript Object Notation) documents.
A MongoDB document.
MongoDB stores all documents in collections. A collection is a group of related documents that have a set of shared common indexes.
Collections are analogous to a table in relational databases.(Collections 相当如关系型数据库中的表)
数据库操作
查询
Query Criteria查询条件 Modifier修饰符
插入操作