public function searchServer(
        Connection $connection,
        string $searchTerm
    ): \Generator {
        $serverMetadata = (new MetadataFactory())->getServerMetadata($connection);

        foreach ($serverMetadata->getAllDatabaseMetadata() as $databaseMetadata) {
            $resultList = $this->searchDatabase(
                $connection,
                $databaseMetadata->getDatabaseName(),
                $searchTerm
            );

            foreach ($resultList as $result) {
                yield $result;
            }
        }
    }