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

Franz Koch typo3.RemoveForMessage at elements-net.de
Fri Jul 9 09:55:14 CEST 2010


Hi Felix,

>> $query->matching(
>> $query->logicalAnd(
>> $query->logicalNot( $query->equals('stringProperty','foobar') ),
>> $query->notEmpty('stringProperty')
>
> what about
>
> $query->logicalNot($query->isEmpty())

Sorry, I mixed up ->notEmpty with ->isEmpty. I only had in mind that a 
new method checking for empty/NULL values will be added and thought you 
meant if this new method is really needed. So only having ->isEmpty is 
totally sufficient and consistent with all other methods.

> $query->isEmpty() will be implemented anyway ... and besides that there
> are no negotiated constraints for now ...

see above.


-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list