Suppose I have two collections/schemas. One is the Users Schema with username and password fields, then, I have a Blogs Schema that has a reference to the Users Schema in the author field. If I use Mongoose to do something like
.populate('user' , '-password')
JohnnyHKs answer using Schema options is probably the way to go here.
Also note that
query.exclude() only exists in the 2.x branch.