[TYPO3-mvc] $query->notEmpty($propertyName)

Franz Koch typo3.RemoveForMessage at elements-net.de
Thu Jul 8 22:49:51 CEST 2010


Hey Felix,

> do we need $query->notEmpty($propertyName)? Never wanted to fetch all
> rows having some property set regardless of what's in?

although I also didn't need something like this by now, I could still 
imagine that it might come handy. Just imagine this:

$query->matching(
   $query->logicalAnd(
	$query->logicalNot( $query->equals('stringProperty','foobar') ),
	$query->notEmpty('stringProperty')
   )
)->execute();

That for sure might be needed for something by someone some time :)

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list