I have an aggregate on a collection with about 1.6M of registers. That consult is a simple example of other more complex, but illustrate the poor optimization o
I have created a mongoose model that has an email field. I want it to be unique if a value is provided by a user but I want it to be empty is a user has not pro