var unwind = {$unwind: '$deleteMessageBy'};
var match = {$match: {'deleteMessageBy.deleterID': req.user.id}};
Conversation.aggregate(match, unwind, function(err, result) {
console.log(result);
});
Note that this is an untested example and may not work in all cases. Please do test any code thoroughly with your use case so that there’s no surprises.
Now you have the result and you can perform further operations.
Alternatively, You can compare the data of the object by using MongoDB aggregations - by first unwinding the array of objects by using $unwind, and can use $let operator to compare the dates.