我知道SELECT * FROM table
,但我以前从未见过SELECT *, MATCH
。
我的工作查询如下
$query = $this->dbi
->prepare("SELECT *, MATCH(title, content) AGAINST (?) AS score FROM tmp_comments WHERE MATCH(title, content) AGAINST(?)")
->execute($this->key,$this->key)
->results();
,
如果我删除后它不起作用SELECT *
请帮帮我,我尝试了谷歌搜索,但找不到任何东西。