[Solved] How does this select in MongoDB [closed]


 db.rendaxeducacao.aggregate([
        {$math : {idh : 2000}                  //  fiter only where idh=2000
        },
        {$group: { _id: 1, 
                   max_idheducacao : {$max : $idheducacao}  // find max
          }
        },
        {$project:{                          //  select cidade 
               _id:0,
               cidade:1
          }  
        } 

  ])

rendaxeducacao = collection

solved How does this select in MongoDB [closed]