PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 525 All time: 5,677 This week: 225Up
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
Age: 43
All time rank: 2739379 in United States United States
Week rank: 312 Up38 in United States United States Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:525
This week:0
All time:5,677
This week:225Up