Page 1 of 1

Why is NOT IN not interpreted

Posted: Sun Dec 16, 2018 5:59 am
by drago
Hi,
currently NOT IN is not supported. I see no reason for this.

For example the following query is not valid:
P WHERE TUPLE {weight weight} NOT IN (P WHERE city = 'Paris'){ weight}
and has to written as:
P WHERE NOT (TUPLE {weight weight} IN (P WHERE city = 'Paris'){ weight})

Could this be added ?

BR,
Drago

Re: Why is NOT IN not interpreted

Posted: Sun Dec 16, 2018 9:57 pm
by Dave
I suppose it could be added as a Rel-specific extension, but I don't recall Tutorial D specifying NOT IN or equivalent.