[PEPr] Changes in proposal for Database::MDB2_TableBrowser
| From: | Isaac Tewolde | Date: | Mon, 29 Sep 2008 18:01:24 +0000 |
| Subject: | [PEPr] Changes in proposal for Database::MDB2_TableBrowser | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-50813@lists.php.net to get a copy of this message | ||
Isaac Tewolde (http://pear.php.net/user/tewolde) has edited the proposal for
Database::MDB2_TableBrowser.
Change comment:
Added the ability to use multiple filter chains.
Each filter chain is a set of conditions that must evaluate to true in
order for a row to be matched. An example filter chain can be "All birds or
mammals that have a life span >10"
This is represented internally as 1 chain with 2 conditions.
1: type="bird" or "mammal"
2: lifespan > 10
But what if you wanted to look for "birds with a lifespan >10" or "mammals
with a lifespan <40"? This requires the use of 2 filter chains as we are
looking to two sets of conditions that a row can match.
This is represented internally as 2 chains with 2 conditions each.
Chain 1:
1: type= "mammal"
2: lifespan <40
Chain 2:
1: type="bird"
2: lifespan > 10
An example use of this is in file example.php
Please review the proposal:
http://pear.php.net/pepr/pepr-proposal-show.php?id=573
--
Sent by PEPr, the automatic proposal system at http://pear.php.net