I know how to use find to find when there is array field or nested objects inside documents.
But Is it possible to find inside a found mongoose object? like this:
let result = await model.findOne({});
if (result){
let findInsideFound=await result.findOne({arrayField:'xxx'}) // i need both variables. ( first result, and findInsideFound both )
or It is impossible and have to use Array.find or etc in result.toJSON()?