694,8 → 694,9 |
* @param array|string $where |
* Only the records matching this condition are updated |
* @return bool |
* @see PDOStatement::execute() |
*/ |
public function update($tables, array $updates, $where = null) |
public function update ($tables, array $updates, $where = null) |
{ |
if (!$tables) |
{ |
803,10 → 804,9 |
* and the values are not in column order (default: <code>null</code>); |
* is ignored otherwise. <strong>You SHOULD NOT rely on column order.</strong> |
* @return bool |
* <code>true</code> if successful, <code>false</code> otherwise |
* @see PDOStatement::execute() |
*/ |
public function insert($table, $values, $cols = null) |
public function insert ($table, $values, $cols = null) |
{ |
if ($cols != null) |
{ |