为了账号安全,请及时绑定邮箱和手机立即绑定

nodejs中的小程序代码

nodejs中的小程序代码

慕圣3317083 2019-04-18 19:49:59
const {mysql} = require('../qcloud')module.exports = async (ctx) => {const {bookId} = ctx.request.queryconst detail = await mysql('books').select('books.*', 'cSessionInfo.user_info').join('cSessionInfo', 'books.open_id', 'cSessionInfo.open_id').where('id', bookId).first()哪里的文档可以查看select(),join(),where(),first()这些相关函数
查看完整描述
  • 3 回答
  • 0 关注
  • 1116 浏览

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号