database error: too much data for sort() with no index. add an index or specify a smaller limit
解决方案:
唯有加索引
Try adding {community_id: 1, 'updated_at.t': -1}
index. It needs to search bycommunity_id
first and then sort.
具体是否能够解决问题还待验证
database error: too much data for sort() with no index. add an index or specify a smaller limit
解决方案:
唯有加索引
Try adding {community_id: 1, 'updated_at.t': -1}
index. It needs to search bycommunity_id
first and then sort.
具体是否能够解决问题还待验证