Ajout fetch une ligne dans connection

correction_routeur
Alix JEUDI--LEMOINE 1 year ago
parent 25ff6cd6f8
commit 20033b57a6

@ -31,6 +31,9 @@ class Connection extends PDO {
public function getResults() : array { public function getResults() : array {
return $this->stmt->fetchall(); return $this->stmt->fetchall();
}
public function getOneResult() : array {
return $this->stmt->fetch();
} }
} }
Loading…
Cancel
Save