How does Nodejs query Mongodb inside’s data?

  node.js, question

图片描述
图片描述
The above is the contents of nodejs’s portal JS file.


图片描述
图片描述
The above is a static method for mongoose inside


It can be seen that the route will call the fetch () method when opening the /pokergame path, but the content of the collection inside called player is not Why? How can I correctly obtain the data information in mongodb in nodejs inside?