I\'m pretty confused with the use of the select method. This is how I use it, and it\'s wrong:
Transaction.find({username : user.username}).sele
This was pretty helpful: How to protect the password field in Mongoose/MongoDB so it won't return in a query when I populate collections?
Looks like you have a few options.
1) Use select('-_id').
2) Use find({whatever: values}, '-_id', callback...}. I can't verify this method, but if it works with select(), I don't see why it wouldn't work here.