📜  和尚查找字段 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:50.227000             🧑  作者: Mango

代码示例1
const users = monk().get('users');

users.find({
  userId: 3425
}, {
  projection: {
    name: 1
  }
}).then((docs) => {
  // only the name field will be selected
});