SHARE
TWEET

Untitled

a guest Jul 17th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     User.find({}, function (err, user) {
  2.         res.send(user);
  3.     }).exec().then(function (users){
  4.         users.forEach(function (user) {
  5.             console.log(user.username);
  6.         })
  7.     });
RAW Paste Data
Top