Typically there will only be a single instance of the database level class in an application.
Located in /inc/PdoQuery.php (line 218)
The connection string is in the standard PDO format. The database won't actually be connected until the first database query is run against it.
The database object will also initialise and hold an PdoDialect object which will be used to provide database specific SQL for some queries, as well as translation hooks for instances where it is necessary to modify the SQL in transit to support additional databases.
Begin a transaction.
Complete a transaction.
Construct and execute an SQL statement from the sql_string, replacing the parameters into it.
Returns an associative array of field types, keyed by field name, for the requested named table. Internally this calls PdoDialect::GetFields to get the required SQL and then processes the query in the normal manner.
Returns a PdoQuery object created using this database, the supplied SQL string, and any parameters given.
Operates identically to PdoDatabase::Prepare, except that PdoDialect::Translate() will be called on the query before any processing.
Cancel a transaction in progress.
Returns the total duration of quries executed so far by this object instance.
Returns the total number of quries executed by this object instance.
Returns the current state of a transaction, indicating if we have begun a transaction, whether the transaction has failed, or if we are not in a transaction.
Switches on or off the processing flag controlling whether subsequent calls to PdoDatabase::Prepare are translated as if PrepareTranslated() had been called.
Documentation generated on Fri, 10 Apr 2009 23:45:53 +1200 by phpDocumentor 1.3.2