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()這些相關(guān)函數(shù)
3 回答

添加回答
舉報
0/150
提交
取消