Posts by Yago Henrique • 11 points
1 post
-
1
votes2
answers395
viewsA: Mongoose findone do not return values
In the way you wrote it is as if you were associating the Documentquery to the variable. The correct way to get the result can be in two ways: 1 - As you have already used async in the function…