PHP Classes

Multiple PHP PDOStatement Iterator: Iterate over multiple query results using PDO

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 526 All time: 5,678 This week: 206Up
Version License PHP version Categories
multi-pdo-iterator 1.0.0GNU General Publi...5.4PHP 5, Databases
Description 

Author

This class can iterate over multiple database query results using PDO.

It can take one or more database query result PDO handles and traverses the result set records and merge them to return a sorted list of records.

The class uses a given key as the base for sorting the result set records. The sorting order may be set to ascending or descending.

Innovation Award
PHP Programming Innovation award nominee
March 2013
Number 6


Prize: One subscription to the PDF edition of the PHP Architect magazine
Sometimes applications need to process information that may result from two or more database queries.

This class can combine the results of several compatible database queries and sort them according to application needs.

Manuel Lemos
Picture of Matthew Daniel
  Performance   Level  
Name: Matthew Daniel <contact>
Classes: 3 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file multiRecordsetItorator.php Class Main class
Accessible without login Plain text file usage.php Example Example of how to use it

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:526
This week:0
All time:5,678
This week:206Up