指定查询返回结果时从指定序列后的结果开始返回,常用于分页
参数
offset: number
返回值
Collection
示例代码
db.collection('todos').skip(10)
.get()
.then(console.log)
.catch(console.error)
最后一次编辑于 2026-07-04
指定查询返回结果时从指定序列后的结果开始返回,常用于分页
db.collection('todos').skip(10)
.get()
.then(console.log)
.catch(console.error)