Update PDO.php

`query()` return the execute result but not the rows affected for non-update type