83

利用聚合概念指导MongoDB的Schema设计 | 斑斓

 6 years ago
source link: http://zhangyi.xyz/mongodb-schema-design-using-aggregate/?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
习惯的力量强大却往往无法察觉。往往不经意之间,陷入习惯的陷阱中却不自知。 在我们的项目中,为了能够保存分析报表以及用户设置的报表查询条件,我们将这些信息视为报表元数据存储在MongoDB中。要存储的元数据包括: 报表分类(ReportCategory) 报表(Report) 报表查询条件(QeuryCondition) 一个报表分类会包含多个报表,同一个报表只能属于一个分类。每个报表提供了多

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK