moongose query for finding qunique document

json : {
       data:{
            base:"Id",
           },
        res:{
           message:"sddg"
           }
     }

i want to find if a particular record already exist on the basis of base unique attribute using moongose in mogodb database, but unable to do so.
my approach is

model.findOne({data:{base:”Id”});