这是一个关于员工请假的设计
需要有获取所有员工下的请假数据的需求
也会有获取单个员工下的请假数据的需求
请问哪一种比较好?还是应该只保存leaveId,leave新建一个collection?
阿神2017-05-02 09:22:44
The second good point is that NoSQL makes the data flat and even has an appropriate amount of redundancy to reduce correlations, which can effectively improve efficiency. This is the so-called anti-paradigm design. The first type is more common in relational databases, which is the so-called paradigm design