[TYPO3-mvc] matching logicalNot isEmpty

Henk Scholten henk at wolfsstyle.nl
Wed Nov 6 16:37:07 CET 2013


Hello,

I'm trying to fetch all items except items without photo.

I get an error with this query:

$query = $this->createQuery();
$query->matching(
	$query->logicalNot(
		$query->isEmpty('photo')
	)
);

Method TYPO3\CMS\Extbase\Persistence\Generic\Query::isEmpty is not 
supported by generic persistence"

What is wrong?

Using TYPO3 6.2 dev

Regards,
Henk


More information about the TYPO3-project-typo3v4mvc mailing list