if $props does not exists it should return blank array instead null value how can we fix it
db.collection.aggregate([
  {
    "$group": {
      "_id": "$prop3"
    }
  }
])
if $props does not exists it should return blank array instead null value how can we fix it
db.collection.aggregate([
  {
    "$group": {
      "_id": "$prop3"
    }
  }
])