Subversion Repositories PHPX

Compare Revisions

Last modification

Regard whitespace Rev 47 → Rev 48

/trunk/Db/Database.php
613,13 → 613,13
*
* @param string|array $tables
* Table name
* @param array $values
* @param array $updates
* Associative array of column-value pairs
* @param array|string $where
* Only the records matching this condition are updated
* @return bool
*/
public function update($tables, $updates, $where = null)
public function update($tables, array $updates, $where = null)
{
if (!$tables)
{