Re: How in PDOStatement->fetchAll use PDO::FETCH_GROUP for grouping more than one column simultaneously?
| From: | Михаил Гаврилов | Date: | Wed, 11 May 2011 17:47:39 +0000 |
| Subject: | Re: How in PDOStatement->fetchAll use PDO::FETCH_GROUP for grouping more than one column simultaneously? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312761@lists.php.net to get a copy of this message | ||
Hi Gerardo.
Of course I can make grouping array by using PHP functions, but if
function fetchAll with parameter PDO::FETCH_GROUP will be have this
feature. The described variant will be more clean and beautiful.
--
Best Regards,
Mike Gavrilov.