Generic database connector class.
An instance of this class, called $database, is created using the current Joomla configuration variables when each page is loaded. Therefore you do not generally need to create new instance of this object. If you need to access to $database within a function then remember to declare it as global.
Beginning with version 1.1, Joomla is being adapted to use the ADOdb database abstraction library (adodb.sourceforge.net). Some new methods have been added and some minor changes to existing methods have been made in order to accommodate this and these changes have been documented appropriately. Joomla versions prior to 1.1 support the MySQL database (www.mysql.com) only.
Joomla version Unknown
Defined in
includes/database.php
Functions
database
Constructor for the database class.
explain
Performs an SQL EXPLAIN on the current SQL query string.
getErrorMsg
Returns the most recent database error message.
getErrorNum
Returns the most recent database error code.