Mongo collection document Schema inconsistent


#1

Hello Experts,
I have a situation where I do not see all the fields of the collection on the client side using the find() method. However, on the server side the find() method do return data with all the key fields of the collection. I would like to understand the rationale behind filtering or restriction on the client side.

-Vignesh.


#2

Usually field are hidden for security or privacy reasons in publication functions. No hiding is done automatically, it must be done in your publication functions

Can you show us your publication function?