public function inheritance()
 {
     $child = Family_Child::get()->first();
     $content .= '$child = Family_Child::get()->first(); <br>';
     return $this->customise(new ArrayData(array('Title' => "Performance: {$this->dbType} inheritance", 'Content' => $content)))->renderWith(array('PerformanceController', 'AppController'));
 }
 public function inheritance()
 {
     //Create a child class and compare the queries
     $rand = rand(1, 999);
     $child = Family_Child::create();
     $child->update(array('Name' => "Name {$rand}", 'Title' => 'Child'));
     $result = $child->write();
     SS_Log::log(new Exception(print_r($result, true)), SS_Log::NOTICE);
     $child = Family_Child::get()->first();
     SS_Log::log(new Exception(print_r($child->toMap(), true)), SS_Log::NOTICE);
     return $this->customise(new ArrayData(array('Title' => 'Orient DB Sandbox inheritance')))->renderWith(array('SandboxController', 'AppController'));
 }