Hi everyone I have a very large data response and I want to remove some elements that’s are not useful when I get the data with find, but there are useful if I do a findOne request
So for exemple I have this kind of response :
{
"id": 1,
"brand_name": "Adidas",
"know_drop_date": true,
"resell_price": 120,
"best_size": 12 - 11,5 us ,
}
I want to hide everything from the response but the id
and the brand_name
when I do an All request but I want to have the data when I do a finOne request
(so make the field into private will be not good)
What is the best way to do this ? Tanks you.