Renamed fetchRow() to fetchAssoc() as marked as a TODO.
This commit is contained in:
parent
e2766ca636
commit
ba6ed43afa
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue