Hello guys, I’m new with mongodb and I’m stucked with a stupid (for you) problem.
I try to explain the problem.
I have a personal_feed document with user_id and an array of feed. The feed document has a name and an array of profile_id.
How I can find the personal_feed of a specific user (by user_id), getting a specific feed (by name) and return the first 10 element in profile_id?
For instance, I want retrieve the first 10 profiles_id of the feed with name “feed2” of the personal_feed with user_id=1
Thanks for every hint