Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-03-17 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 489 All time: 5,362 This week: 1,392Up
Version License PHP version Categories  
multi-pdo-iterator 1.0GNU General Public Lice...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
Name: Matthew Daniel <contact>
Classes: 3 packages by
Country: United States United States
Age: 34
All time rank: 2544320 in United States United States
Week rank: 1882 Up210 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:489All time:5,362
 This week:0This week:1,392Up