获取单条数据
操作步骤
参数
类型
必填
说明
参数
类型
必填
说明
示例
let tableName = 'product'
let recordID = '59897882ff650c0477f00485'
let Product = new wx.BaaS.TableObject(tableName)
Product.get(recordID).then(res => {
// success
}, err => {
// err
})错误码 err.code
可能的原因
字段过滤与扩展
Last updated
Was this helpful?