How to exclude fields of an array using Mongo Projections
I have a list of fields I would like to exclude in my mongo projection. Using the exclude() method in mongo projection, I was able to retrieve data with the specified values excluded.
I have a list of fields I would like to exclude in my mongo projection. Using the exclude() method in mongo projection, I was able to retrieve data with the specified values excluded.