hi
Im trying to get data from my DBatlas cluster with Model.find(), but I think something is not working with my async function. function returns a pending promise but im able to console.log the actual cluster objects. How can I store my collection with node.js ?
async function dbData() {
    try{
        let dbData= await formModel.find({})
        //console.log(dbData) //Console logs succesfully
        return dbData
    }
    catch(err){
        console.log(err)
    }
    
}