How to get only required data fields from MongoDB

So, you have noticed that we can exclude any field by giving it a value `false` or zero `0`. Now, think, what the code will be if we want all the fields to send but not the password! Easy? yes, here is the code…