Commit 60cc6c2d authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge pull request #368 from Bilge/patch-1

What is colnum?
parents 7ffb2701 4d18c6fc
......@@ -410,13 +410,13 @@ class Connection implements DriverConnection
*
* @param string $statement The SQL query to be executed.
* @param array $params The prepared statement params.
* @param integer $colnum The 0-indexed column number to retrieve.
* @param integer $column The 0-indexed column number to retrieve.
*
* @return mixed
*/
public function fetchColumn($statement, array $params = array(), $colnum = 0)
public function fetchColumn($statement, array $params = array(), $column = 0)
{
return $this->executeQuery($statement, $params)->fetchColumn($colnum);
return $this->executeQuery($statement, $params)->fetchColumn($column);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment