Classes/Domain/Repository/AddressRepository.php
public function findAllByRegisteraddresshash($hash)
    {
        $query = $this->createQuery();

        $query->matching(
            $query->equals('registeraddresshash', $hash )
        );

        return $query->execute();
    }
public function findAllByRegisteraddresshash($hash)
    {
        $query = $this->createQuery();

        $query->matching(
            $query->equals('registeraddresshash', $hash )
        );

        return $query->execute();
    }
public function findAllByRegisteraddresshash ( $ hash ) { $ query = $ this -> createQuery ( ) ; $ query -> matching ( $ query -> equals ( 'registeraddresshash' , $ hash ) ) ; return $ query -> execute ( ) ; }
Returns all Objects by hash.

@param string $hash
@return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface|array
all objects, will be empty if no objects are found, will be an array if raw query results are enabled
Returns all Objects by hash .