freeCodeCamp/guide/chinese/computer-science/databases/document-store-databases/index.md

24 lines
814 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: Document Store Databases
localeTitle: 文档存储数据库
---
## 文档存储数据库
文档存储数据库被认为是另一种类型的NoSQL数据库它与Key Value数据库非常相似。文档存储中的记录表示单个结构化文档该文档可以与数据库中的所有其他文档不同。与关系数据库不同没有对象映射到数据库中的各种表。相反我们可以获取整个对象并将其直接写入文档存储数据库。
例如,我们可以在代码中包含以下对象。
```json
{
"name": "freeCodeCamp",
"job": "contributor"
}
```
整个对象可以直接写入文档存储数据库而无需进一步解析。
#### 更多信息:
[MongoDB的](https://www.mongodb.com/document-databases)
[Elasticsearch](https://www.elastic.co/)