[TYPO3-mvc] $query->contains: Is there something like $query->containsNone('fieldName')?
Jochen Rau
jochen.rau at typoplanet.de
Mon Mar 15 14:54:05 CET 2010
On 15.03.10 09:31, roberto blanko wrote:
> Hi Jochen,
>
> thanks for your thoughts. I personally think
> $query->logicalNot($query->contains('categories')) (although it's not one of
> your alternatives) feels and reads quite natural.
>
> What's your opinion?
You can't distinguish between
$query->logicalNot($query->contains('categories'))
and
$query->logicalNot($query->contains('categories', NULL))
which makes a difference IMO.
Jochen
More information about the TYPO3-project-typo3v4mvc
mailing list