📜  countDocuments mongoose - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:13.439000             🧑  作者: Mango

代码示例3
Adventure.countDocuments({ type: 'jungle' }, function (err, count) {
  console.log('there are %d jungle adventures', count);
});