[FLOW3-general] query->isEmpty returns no NULL properties

Thomas Mammitzsch thomas at visualworx.de
Wed Dec 19 14:47:09 CET 2012


my fault, works now. i used the column name from database table, not the 
property name from object (which differs). It showed up in the logs.

regards, thomas

On 19.12.2012 12:52, Thomas Mammitzsch wrote:
> Hi list,
>
> i try to get objects which have a property which might be NULL in some
> cases. Because the is no isNull() constraint method i tried isEmpty()
> which should work ("It matches if the multivalued property contains no
> values or is NULL."). But it doesn't.
>
>          $query = $this->createQuery();
>          $query->matching(
>              $query->isEmpty('someproperty')
>          );
>
>      return $query->execute()
>
> any ideas or hints?



More information about the FLOW3-general mailing list