Answers for "multiple condition in $filter mongodb"

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 "multiple condition in $filter mongodb"

Browse Popular Code Answers by Language