Difference between revisions of "JDatabaseMySQLi"

From Joomla! Documentation

(Bulk upload by Doxiki2)
(Layout updates)
Line 6: Line 6:
===Defined in===
===Defined in===
* see source code in [[jplatform:database/database/mysqli.php|BitBucket]]
[[Subpackage Database/11.1|Database]]
[[Subpackage Database/11.1|Database]]
Line 114: Line 115:
<source lang="php">jimport( 'joomla.database.database.mysqli' );</source>
<source lang="php">jimport( 'joomla.database.database.mysqli' );</source>
===See also===
===See also===
* JDatabaseMySQLi source code in [[jplatform:database/database/mysqli.php|BitBucket]]
* [[JDatabaseMySQLi|Other versions of this class]]
* [[JDatabaseMySQLi|Other versions of this class]]

Revision as of 17:51, 23 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton] JDatabaseMySQLi is a concrete database handler class for MySQL. The MySQLi driver can only be used for MySQL 4.1 and higher. The "i" at the end stands for "improved" (faster, better, etc.).

Defined in






Extended by


Method name Description
__construct Database object constructor.
__destruct Database object destructor.
connected Determines if the connection to the server is active.
explain Diagnostic function.
getAffectedRows Description.
getCollation Assumes database collation in use by sampling one text field in one table.
getEscaped Get a database escaped string.
getNumRows Description.
getTableCreate Shows the CREATE TABLE statement that creates the given tables.
getTableFields Retrieves information about the given tables.
getTableList Description.
getVersion Description.
hasUTF Determines UTF support.
insertid Description.
insertObject Inserts a row into a table based on an objects properties.
loadAssoc Fetch a result row as an associative array.
loadAssocList Load a assoc list of database rows.
loadNextObject Load the next row returned by the query.
loadNextRow Load the next row returned by the query.
loadObject This global function loads the first row of a query into an object.
loadObjectList Load a list of database objects.
loadResult This method loads the first field of the first row returned by the query.
loadResultArray Load an array of single field results into an array.
loadRow Description.
loadRowList Load a list of database rows (numeric column indexing).
query Execute the query.
queryBatch Execute a batch query.
select Select a database for use.
setUTF Custom settings for UTF support.
test Test to see if the MySQLi connector is available.
updateObject Description.


jimport( 'joomla.database.database.mysqli' );

See also

SeeAlso:JDatabaseMySQLi [Edit See Also]


<CodeExamplesForm />