我需要检索与ID列表关联的所有文档。
我想到了几种方法:
or
id equals x
in
query.field("_id").in(ids)
有没有一种方法适合这种情况?
另外,哪种方法在大数据集中表现最佳?