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

Marc Bastian Heinrichs typo3 at mbh-web.de
Thu Jul 8 23:13:33 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 :)
> 

+1

Regards,
Marc Bastian


More information about the TYPO3-project-typo3v4mvc mailing list