skip to Main Content

nodejs mongodb aggregation not working properly

I have this type of MongoDB collection { "uploaded_video": [ { "_id": "622a03e66d59f72b72358069", "user_id": "Ec3FNhk45Lh1xk92cO9eoXDiWEk2", "uploaded_video": { "_id": "622a0616242e5b2e65e8b3b4", "video_description": "test", "created_At": "2022-03-10T14:05:29.000Z", "recordedVideo": false, "thumbnailCreated": true }, "activityType": "uploaded_video" } ], "comment_video": [ { "_id": "622a03e66d59f72b72358069", "user_id": "Ec3FNhk45Lh1xk92cO9eoXDiWEk2", "comment_video":…

VIEW QUESTION

MongoDB lookup in multi label nested array

I am very new in MongoDB. I am trying to make lookup in multi label nested array. My data is looks like bellow. [     {         "_id": "621eedae92979fd8f0e9451d",         "name": "Pallab Koley",         "shifts": {             "_id": "62636b9fcbda6d2b17f5cae0",            …

VIEW QUESTION
Back To Top
Search