update() public method

Updates specified properties to database
public update ( array | Iterator $props )
$props array | Iterator The list of the properties to update
Example #1
0
 public function ResumeServer(\DBServer $DBServer)
 {
     $DBServer->update(['status' => \SERVER_STATUS::RESUMING, 'dateAdded' => date("Y-m-d H:i:s")]);
 }