Isodat mongoDb nodejs
Ticket.aggregate([
{
$match: {
createdAt: {
$gte: new moment().startOf('month').toDate()
}
}
}
]).then(results => {
// do something
})
Krushn