Exemple #1
0
 public function find($race)
 {
     $stmt = $this->db->prepare("SELECT `race`, `status` FROM Race WHERE race = :race");
     $stmt->execute([":race" => $race]);
     $vo = $stmt->fetch(\PDO::FETCH_ASSOC);
     return $vo;
     return Race::unmarshal($vo);
 }