云数据库怎么根据其中一个字段查询到fileID?

发布于 7 年前作者 qiang76632 次浏览最后编辑 7 年前来自 issues

我现在知道book,怎么查到fileID?

1 回复
qiang94
qiang941 楼5 年前

db.collection(‘xxxx’).where({

    book: ‘书名’

}).get().then(res=>{

    console.log(res)

})