云函数 get返回data数组有数据但是返回data[0]为null?
var data = await db.collection('category').where({
_id: db.command.in([event.lastIndexId, event.currentIndexId])
}).get();
return data
var data = await db.collection('category').where({
_id: db.command.in([event.lastIndexId, event.currentIndexId])
}).get();
return data