CakePHP受到影响的原始SQL语句行

har*_*ryg 3 php cakephp cakephp-2.3

我在CakePHP应用程序中有一个动作,它通过模型中的方法运行一个简单的更新语句,如下所示:

public function remove_nasties(){
    $query = 'UPDATE holdings 
    SET holdings.account_id = CONCAT(account_id, "n")
    WHERE holdings.nasty = 1 AND Right(holdings.account_id,1) != "n";';

    return $this->query($query);
}
Run Code Online (Sandbox Code Playgroud)

查询运行正常,但如何获取受影响的行数?返回的所有内容都是一个空数组.