Mongodb Database Expert

Job ID: 32570421

Budget: $2 – $8 USD

Hi, I am looking mongodb expert for a solve me the problem. It is about mongodb aggregate,
I want to use greater and less than date with their own value..

for example:

const pcfr = await Transactions.aggregate([
{
$match: {
status: "Order Revenue",
seller: user._id,,
clearanceFundsDate: {
gt: { clearanceFundsDate }
}
},
},
{
$group: {
_id: "$seller",
total: { $sum: "$amount" },
},
},
]);