1
0
mirror of synced 2024-12-13 22:56:04 +03:00

Renamed fetchRow() to fetchAssoc() as marked as a TODO.

This commit is contained in:
Guilherme Blanco 2010-04-29 23:02:53 -03:00
parent e2766ca636
commit ba6ed43afa

View File

@ -290,9 +290,8 @@ class Connection implements DriverConnection
* @param string $statement The SQL query.
* @param array $params The query parameters.
* @return array
* @todo Rename: fetchAssoc
*/
public function fetchRow($statement, array $params = array())
public function fetchAssoc($statement, array $params = array())
{
return $this->executeQuery($statement, $params)->fetch(PDO::FETCH_ASSOC);
}