温馨提示×

# find()

mongodb中find()和findOne()的不同点:1、返回值不同,find()返回的是一个数组对象,而findOne()返回的是一个满足输入条件的文档对象;2、find()能够返回所有符合条件...

0

mongodb中find()有什么用

小晨
157
2021-07-27 10:23:03

mongodb中find()的作用:在mongodb中find() 方法主要用来查询数据,语法格式为:“db.collection.find(query, projection)”,其中collect...

0