API16:JDatabaseQuery/update

From Joomla! Documentation

Jump to: navigation, search

[Edit Descripton]

Description:JDatabaseQuery/update

Contents

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;
}

[Edit See Also] SeeAlso:JDatabaseQuery/update

Examples


Personal tools