Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- router.post('/getListOfUsers', function(req, res){
- var collection = db.get('Users');
- collection.find( {}, {}, function(err, docs){
- res.send(docs);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement