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

Thomas Mammitzsch thomas at visualworx.de
Wed Dec 19 12:52:40 CET 2012


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