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

Jochen Rau jochen.rau at typoplanet.de
Fri Jul 9 00:35:15 CEST 2010


Hi Felix.

On 2010-07-08, Felix Oertel <mehl at foertel.com> wrote:
> Am 08.07.10 22:49, schrieb Franz Koch:
>> $query->matching(
>> $query->logicalAnd(
>> $query->logicalNot( $query->equals('stringProperty','foobar') ),
>> $query->notEmpty('stringProperty')
>
> what about
>
> $query->logicalNot($query->isEmpty())

That's in sync with FLOW3 and the IMO best way to implement it. Otherwise we get a lot of inverse contstraints. What about $query->notLogicalNot() ;-)

Regards
Jochen


More information about the TYPO3-project-typo3v4mvc mailing list