JDatabaseMySQLi
MySQLi database driver
Located in /joomla/database/database/mysqli.php (line 25)
JObject (Subpackage Base)
![]()
JDatabase
![]()
JDatabaseMySQLi (Subpackage Database)
string
$name
= 'mysqli' (line 32)
The database driver name
- JDatabase::$name
- The database driver name
string
$_nameQuote
= '`' (line 46)
Quote for named objects
- JDatabase::$_nameQuote
- Quote for named objects
string
$_nullDate
= '0000-00-00 00:00:00' (line 39)
The null/zero date string
- JDatabase::$_nullDate
- The null/zero date string
Inherited Variables
Inherited from JDatabase
JDatabase::$_cursor
JDatabase::$_debug
JDatabase::$_errorMsg
JDatabase::$_errorNum
JDatabase::$_hasQuoted
JDatabase::$_limit
JDatabase::$_log
JDatabase::$_offset
JDatabase::$_quoted
JDatabase::$_resource
JDatabase::$_sql
JDatabase::$_table_prefix
JDatabase::$_ticker
JDatabase::$_utf
Inherited from JObject
JObject::$_errors
Database object constructor
- array $options: List of options used to configure the connection
- JDatabase::__construct()
- Database object constructor
Determines if the connection to the server is active.
- JDatabase::connected()
- Determines if the connection to the server is active.
Description
- JDatabase::getAffectedRows()
- Get the affected rows by the most recent query
Assumes database collation in use by sampling one text field in one table
- JDatabase::getCollation()
- Get the database collation
Get a database escaped string
- string $text: The string to be escaped
- boolean $extra: Optional parameter to provide extra escaping
- JDatabase::getEscaped()
- Get a database escaped string
Description
- $cur
- JDatabase::getNumRows()
- Get the number of rows returned by the most recent query
Shows the CREATE TABLE statement that creates the given tables
- array|string $tables: A table name or a list of table names
- JDatabase::getTableCreate()
- Shows the CREATE TABLE statement that creates the given tables
Retrieves information about the given tables
- array|string $tables: A table name or a list of table names
- boolean $typeonly: Only return field types, default true
- JDatabase::getTableFields()
- Retrieves information about the given tables
Description
- JDatabase::getTableList()
- List tables in a database
Description
- JDatabase::getVersion()
- Get the version of the database connector
Determines UTF support
- JDatabase::hasUTF()
- Determines UTF support
Description
- JDatabase::insertid()
- Get the ID generated from the previous INSERT operation
Inserts a row into a table based on an objects properties
- string $table: The name of the table
- object An &$object: object whose properties match table fields
- string $keyName: The name of the primary key. If provided the object property is updated.
- JDatabase::insertObject()
- Inserts a row into a table based on an objects properties
Fetch a result row as an associative array
- JDatabase::loadAssoc()
- Fetch a result row as an associative array
Load a assoc list of database rows
- string $key: The field name of a primary key
- JDatabase::loadAssocList()
- Load a associactive list of database rows
This global function loads the first row of a query into an object
- JDatabase::loadObject()
- This global function loads the first row of a query into an object
Load a list of database objects
If key is not empty then the returned array is indexed by the value the database key. Returns null if the query fails.
- string $key: The field name of a primary key
- JDatabase::loadObjectList()
- Load a list of database objects
This method loads the first field of the first row returned by the query.
- JDatabase::loadResult()
- This method loads the first field of the first row returned by the query.
Load an array of single field results into an array
- $numinarray
- JDatabase::loadResultArray()
- Load an array of single field results into an array
Description
- JDatabase::loadRow()
- Load the first row returned by the query
Load a list of database rows (numeric column indexing)
If key is not empty then the returned array is indexed by the value the database key. Returns null if the query fails.
- string $key: The field name of a primary key
- JDatabase::loadRowList()
- Load a list of database rows (numeric column indexing)
Execute a batch query
- $abort_on_error
- $p_transaction_safe
- JDatabase::queryBatch()
- Execute a batch query
Custom settings for UTF support
- JDatabase::setUTF()
- Custom settings for UTF support
Test to see if the MySQLi connector is available
- JDatabase::test()
- Test to see if the MySQLi connector is available
Description
- [type] $updateNulls
- $table
- &$object
- $keyName
- JDatabase::updateObject()
- Update an object in the database
Inherited Methods
Inherited From JDatabase
JDatabase::__construct()
JDatabase::addQuoted()
JDatabase::BeginTrans()
JDatabase::CommitTrans()
JDatabase::connected()
JDatabase::debug()
JDatabase::ErrorMsg()
JDatabase::ErrorNo()
JDatabase::Execute()
JDatabase::explain()
JDatabase::GenID()
JDatabase::getAffectedRows()
JDatabase::GetCol()
JDatabase::getCollation()
JDatabase::getConnectors()
JDatabase::getErrorMsg()
JDatabase::getErrorNum()
JDatabase::getEscaped()
JDatabase::getInstance()
JDatabase::getLog()
JDatabase::getNullDate()
JDatabase::getNumRows()
JDatabase::GetOne()
JDatabase::getPrefix()
JDatabase::getQuery()
JDatabase::GetRow()
JDatabase::getTableCreate()
JDatabase::getTableFields()
JDatabase::getTableList()
JDatabase::getTicker()
JDatabase::getUTFSupport()
JDatabase::getVersion()
JDatabase::hasUTF()
JDatabase::insertid()
JDatabase::insertObject()
JDatabase::isQuoted()
JDatabase::loadAssoc()
JDatabase::loadAssocList()
JDatabase::loadObject()
JDatabase::loadObjectList()
JDatabase::loadResult()
JDatabase::loadResultArray()
JDatabase::loadRow()
JDatabase::loadRowList()
JDatabase::nameQuote()
JDatabase::PageExecute()
JDatabase::query()
JDatabase::queryBatch()
JDatabase::Quote()
JDatabase::replacePrefix()
JDatabase::RollbackTrans()
JDatabase::SelectLimit()
JDatabase::setQuery()
JDatabase::setUTF()
JDatabase::splitSql()
JDatabase::stderr()
JDatabase::test()
JDatabase::updateObject()
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::getPublicProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()





static