function update()
 {
     $sql = new Sql_Select(new PWEL_SQL());
     $sql->order("id->DESC")->from("accounts")->where(array("ID" => 1))->query();
     $update = new Sql_Update($sql);
     $update->table("accounts")->changeValues(array("ID" => 10, "username" => "mumuside"))->where(array("username" => "dadaside"))->update();
 }
 /**
  * Attempts a logout
  * 
  * @param string $session
  * @return bool
  */
 public function LogoutAttempt($session)
 {
     $sqlS = new Sql_Select($this->connectorClass);
     $sql = new Sql_Update($sqlS);
     $sql->changeValues(array($this->column_session => "logout" . md5($session)));
     $sql->table($this->table_name);
     $sql->where(array("{$this->column_session}" => $session));
     return $sql->update() != null ? false : true;
 }