Mongodb – unable to push object returned from mongoose query
I am making a social media backend. I save post added by the used in a Post model and user data in a User model. GITHUB_REPO_LINK_AT_END NOTE: UserSchema have a Schema.TypesOf.ObjectId Reference To POST Model. User_Model_&_Post_Model_are_provided_in_the_end To get all posts…