public function getTables()
    {
        $statement = $this->connection->prepare("SELECT * FROM information_schema.tables WHERE table_catalog = :database AND table_schema = 'public'");
        $statement->execute([
            ':database' => $this->Databaser->database
        ]);

        return $statement->fetchAll(\PDO::FETCH_ASSOC);
    }
public function getTables()
    {
        $statement = $this->connection->prepare("SELECT * FROM information_schema.tables WHERE table_catalog = :database AND table_schema = 'public'");
        $statement->execute([
            ':database' => $this->Databaser->database
        ]);

        return $statement->fetchAll(\PDO::FETCH_ASSOC);
    }
public function getTables ( ) { $ statement = $ this -> connection -> prepare ( "SELECT * FROM information_schema.tables WHERE table_catalog = :database AND table_schema = 'public'" ) ; $ statement -> execute ( [ ':database' => $ this -> Databaser -> database ] ) ; return $ statement -> fetchAll ( \ PDO :: FETCH_ASSOC ) ; }
Get all tables for a database
Get all tables for a database