1
0
Fork 0
mirror of synced 2025-04-03 05:13:37 +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 string $statement The SQL query.
* @param array $params The query parameters. * @param array $params The query parameters.
* @return array * @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); return $this->executeQuery($statement, $params)->fetch(PDO::FETCH_ASSOC);
} }