[FLOW3-general] query constraint with check for Null

Thomas Mammitzsch thomas at visualworx.de
Mon Feb 25 16:41:46 CET 2013


Thanks Manfred - works!

On 25.02.2013 16:31, Manfred Rutschmann - VOLUMEN Werbe-/Internetagentur 
wrote:
> Hi,
>
> untested:
> $query->matching(
> 	$query->logicalAnd(
>             	$query->logicalAnd($constraints),
> 		$query->logicalNot($query->equals('myProp', NULL))
> 	)
> );
>
> The logicalNot IN a LogicalAnd with the other constraints.
>
> Manfred
>
>


More information about the FLOW3-general mailing list