In Users Guide is written:
Negated IN expression is not supported in queries. For example, the following expression is not suppored:
FIND Event WHERE NOT(LoggedInMember IN Event.Participants)
In many cases the negated IN expression can be replaced by
using the equivalent COUNT or EXISTS expression, for example:
FIND Event WHERE COUNT Member WHERE(Member IN Event.Participants AND Member=LoggedInMember) = 0
So I transformed this rule for subquery that is in OjectB
FIND ObjectA WHERE NOT(ObjectA IN OjectB.ObjectA)
into
FIND ObjectA WHERE COUNT ObjectA WHERE (ObjectA IN ThisOjectB.ObjectA)=0
But it doesnt work. What is my mistake?