diff --git a/SwichGIT/BDD/ConnectionBd.php b/SwichGIT/BDD/ConnectionBd.php deleted file mode 100644 index c5a0139..0000000 --- a/SwichGIT/BDD/ConnectionBd.php +++ /dev/null @@ -1,30 +0,0 @@ -setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION); -} - -public function executeQuery(string $query,array $parameters=[]) : bool{ - $this->stmt = parent::prepare($query); - foreach ($parameters as $name => $value) { - $this->stmt->bindValue($name , $value[0] , $value[1]); - } - return $this->stmt->execute(); -} - -public function getResults() : array { - return $this->stmt->fetchall(); -} - - - -} - -?> \ No newline at end of file