/inc/PdoQuery.phpPDO query class and associated functions
This subpackage provides some functions that are useful around database activity and a PdoDialect, PdoDatabase and PdoQuery classes to simplify handling of database queries and provide some access for a limited ability to handle varying database dialects.
The class is intended to be a very lightweight wrapper with some features that have proved useful in developing and debugging web-based applications:
If not already connected, PdoQuery will attempt to connect to the database, successively applying connection parameters from the array in $c->pdo_connect.
We will die if the database is not currently connected and we fail to find a working connection.
| Class | Description |
|---|---|
PdoDialect
|
The PdoDialect class handles |
PdoDatabase
|
Typically there will only be a single instance of the database level class in an application. |
PdoQuery
|
A variable of this class is normally constructed through a call to PdoDatabase::Query or PdoDatabase::Prepare, associating it on construction with the database which is to be queried. |
Documentation generated on Fri, 10 Apr 2009 23:45:53 +1200 by phpDocumentor 1.3.2