 |
|
Innovation award
 Nominee: 3x |
This class can be used to query PHP arrays using an SQL dialect.
It can execute SQL SELECT queries on bi-dimensional array on which the first dimension is the row number and the second dimension the field names.
The class supports the WHERE clause to specify conditions using operators like =, >, <, LIKE, IN, etc..
The results are returned as arrays and can be sorted with the ORDER clause and restricted with the clause LIMIT.
|
|
| Name: |
sql4array |
| Base name: |
sql4array |
| Description: |
Query PHP arrays using an SQL dialect |
| Version: |
0.0.3 |
| PHP version: |
5.0.0 |
| License: |
GNU Lesser General Public License (LGPL) |
| All time users: |
801 users |
| All time rank: |
3747 |
| Week users: |
1 user |
| Week rank: |
2150  |
| |
|
 May 2007
Number 3 |
Arrays are often used in PHP applications to store complex information structures.
Retrieving information from complex arrays may require a lot of hand-written code.
This class provides a surprisingly simple solution that consists of using a SQL-like language to query and retrieve information from arrays as if those are relational databases.
Manuel Lemos |
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (83.3%) |
Good (83.3%) |
- |
Good (83.3%) |
- |
- |
Not sure (58.3%) |
965 |
| Month: |
Not yet rated by the users |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|