我的github

Moogoose入门教程:https://blog.csdn.net/weixin_45828332/article/details/114120710

countDocuments(query)函数的使用:

 

 https://www.nuomiphp.com/eplan/2759.html

如果要全部查询出来,应该怎么传值

不就应该是{}吗?

https://www.jianshu.com/p/24dca46e2cc0

使用{}的确会计算总数,但是返回值??还是要用find函数。

mongoose find查询所有:

posted on 2021-09-23 15:25  XiaoNiuFeiTian  阅读(349)  评论(0)    收藏  举报