So this is Day 3 of learning Mongo Db. I\'m coming from the MySql universe...
A lot of times when I need to write a query for a MySql table I\'m unfamiliar with, I woul
print('\n--->', Object.getOwnPropertyNames(db.users.findOne()) .toString() .replace(/,/g, '\n---> ') + '\n');
---> _id ---> firstName ---> lastName ---> email ---> password ---> terms ---> confirmed ---> userAgent ---> createdAt