public function update($table, $condition, $item)
{
$table = $this->__array2string($table);
$value = $this->__quote($item, ",");
$condiStr = $this->__quote($condition, "AND");
if ($condiStr != "") {
$condiStr = " WHERE " . $condiStr;
}
$sql = "UPDATE {$table} SET {$value} {$condiStr}";
return $this->__query($sql);
}