Answers for "match several condition in mongodb aggregate"

2

mongodb aggregation $filter multiple conditions

cond: {
  $and: [
    { $gte: ['$$item.timestamp_start', fromTimestamp] },
    { $lt: ['$$item.timestamp_start', toTimestamp] }
  ]
}
Posted by: Guest on March-24-2021

Code answers related to "match several condition in mongodb aggregate"

Browse Popular Code Answers by Language