mongodb aggregation $filter multiple conditions code example
Example: mongodb aggregation $filter multiple conditions
cond: {
$and: [
{ $gte: ['$$item.timestamp_start', fromTimestamp] },
{ $lt: ['$$item.timestamp_start', toTimestamp] }
]
}