API16:JDatabaseQuery/update
From Joomla! Documentation
<! removed transcluded page call, red link never existed >
Syntax
update($tables)
| Parameter Name | Default Value | Description |
|---|---|---|
| $tables | A string or array of table names |
Defined in
libraries/joomla/database/databasequery.php
Importing
jimport( 'joomla.database.databasequery' );
Source Body
public function update($tables)
{
$this->_type = 'update';
$this->_update = new JDatabaseQueryElement('UPDATE', $tables);
return $this;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples