MongoDB for Hierarchical Data: Storing and Querying Book Chapters, Sections, and Paragraphs
{"_id": "chapter_id", "name": "Chapter 1", "sections": [{"_id": "section_id", "name": "Section 1", "paragraphs": [{"_id": "paragraph_id", "content": "Paragraph 1"}, {"_id": "paragraph_id", "content": "Paragraph 2"}]}, {"_id": "section_id", "name": "Section 2", "paragraphs": [{"_id": "paragraph_id", "content": "Paragraph 3"}]}]}
原文地址: https://www.cveoy.top/t/topic/pKYf 著作权归作者所有。请勿转载和采集!