MongoDB的,什么是'cursor.exec`是什么意思?
我搜索了几个小时,但仍然没有找到任何关于它的信息。
var cursor = db.collection('students');
cursor.skip(10).limit(10)
cursor.exec(function(err, result) {...})
是否有关于docs
任何exec
?
exec
是Mongoose的辅助方法:
- http://mongoosejs/docs/queries.html
- http://mongoosejs/docs/api.html#query_Query-exec