从json导入了若干数据,查询时
db.collection'xxx'
.where({
// name: 'aa', // 填入当前用户 openid
})
.skip(10) // 跳过结果集中的前 10 条,从第 11 条开始返回
.limit(10) // 限制返回数量为 10 条
.get()
.then(res => {
consolelog(res.data
})
.catch(err => {
consoleerror(err)
})
此处skip会差跳过前10条,数据中没有index相关的字段,如果skip能跳过10条数据,那么说明他内部是有index的,我该如何获取这个index呢

你的这个推理是错的,有 Skip 方法并不代表一定有 index