openxyz/phpblog — pull request #2 by BirdEggegg (2014-10-18 04:11:38+00:00)
Title: 计算总记录数的fetchObject()->amount改为fetchColumn()

php文档中查不到amount属性，且根据[这里的example2](http://php.net/manual/zh/pdostatement.rowcount.php)用fetchColumn更加合适，简洁