Neos.Media/Classes/Domain/Repository/AssetRepository.php
public function findUntagged(AssetCollection $assetCollection = null)
    {
        $query = $this->createQuery();
        $query->matching($query->isEmpty('tags'));
        $this->addImageVariantFilterClause($query);
        $this->addAssetCollectionToQueryConstraints($query, $assetCollection);
        return $query->execute();
    }
public function findUntagged(AssetCollection $assetCollection = null)
    {
        $query = $this->createQuery();
        $query->matching($query->isEmpty('tags'));
        $this->addImageVariantFilterClause($query);
        $this->addAssetCollectionToQueryConstraints($query, $assetCollection);
        return $query->execute();
    }
public function findUntagged ( AssetCollection $ assetCollection = null ) { $ query = $ this -> createQuery ( ) ; $ query -> matching ( $ query -> isEmpty ( 'tags' ) ) ; $ this -> addImageVariantFilterClause ( $ query ) ; $ this -> addAssetCollectionToQueryConstraints ( $ query , $ assetCollection ) ; return $ query -> execute ( ) ; }
Find Assets without any tag

@param AssetCollection $assetCollection
@return QueryResultInterface
@throws InvalidQueryException
Find Assets without any tag