Bluz\Db\Db::fetchColumnGroup
Returns an array containing all of the result set rows
Group by first column
Signature
public function fetchColumnGroup(string
$sql,
[array
$params = ] )
Parameters
$sql
— string- SQL query with placeholders
"SELECT ip, id FROM users" $params
— array- params for query placeholders (optional)
Returns
- array