如何在 node.js MySQL 中使用 match()
how to use match() in node.js MySQL
使用numtel:mysql for meteor which is node-mysql for meteor. How should a SQL match against查询查找。
在我看来这应该可行。
return liveDb.select(
`SELECT *
FROM articles
WHERE
MATCH (title,body)
AGAINST ('+MySQL -YourSQL' IN BOOLEAN MODE);`, [ { table: articles} ]
);
使用numtel:mysql for meteor which is node-mysql for meteor. How should a SQL match against查询查找。
在我看来这应该可行。
return liveDb.select(
`SELECT *
FROM articles
WHERE
MATCH (title,body)
AGAINST ('+MySQL -YourSQL' IN BOOLEAN MODE);`, [ { table: articles} ]
);