Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

这两句sql怎么合并,变成一次查询?万分感谢

$
0
0
var sql1 = `select title from magnet where match(title,files) against("${ key }" in natural language mode) limit ${ start },${ count };`
var sql2 = `select count(title) from magnet where match(title,files) against("${ key }" in natural language mode);`


Viewing all articles
Browse latest Browse all 14821

Trending Articles