{
"comments": 0,
"_id": "5e7a142125a650dfa132b984",
"title": "dasdadasd",
"description": "dasdasdadasdasdasd",
"author": {
"_id": "5e7a142125a650dfa132b985",
"name": "Artem",
"userId": "5e7a0bea506a9edca2abaf6c"
}
}
userId
:Posts.find({ author: { userId: user._id } });
Posts.find({ 'author.userId': user._id });