mongoose-paginate:猫鼬分页

时间:2021-06-03 09:22:16
【文件属性】:
文件名称:mongoose-paginate:猫鼬分页
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-03 09:22:16
JavaScript 猫鼬分页器 Build to avoid usage of cursor.skip in mongodb The cursor.skip() method is often expensive because it requires the server to walk from the beginning of the collection or index to get the offset or skip position before beginning to return result. As offset (e.g. pageNumber above) increases, cursor.skip() will become slower and more CPU intensive. With larger collections, cursor.skip() may be
【文件预览】:
mongoose-paginate-master
----index.js(41B)
----package.json(823B)
----test()
--------paginate-test.js(9KB)
----LICENSE.md(1KB)
----.gitignore(103B)
----lib()
--------index.js(4KB)
----README.md(2KB)

网友评论