Answers for "monk find fields"

0

monk find fields

const users = monk(<connectionString>).get('users');

users.find({
  userId: 3425
}, {
  projection: {
    name: 1
  }
}).then((docs) => {
  // only the name field will be selected
});
Posted by: Guest on September-08-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language