Doctrine\DBAL\Statement::fetchColumn
Returns a single column from the next row of a result set.
Signature
public function fetchColumn([integer
$columnIndex = 0] )
Parameters
$columnIndex
— integer
Returns
- mixed
- A single column from the next row of a result set or FALSE if there are no more rows.