mysql分页小结

mysql.select('*').from('books')
.join('cSessionInfo', 'books.openid', 'cSessionInfo.open_id')
.limit(size)
.offset(Number(page)*size)

posted @ 2018-07-14 22:24  hh9515  阅读(115)  评论(0编辑  收藏  举报