cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Predicate function exists deprecated?

Hello,

When using Neo4J Aura (browser v4.2.2, server v4.2.0), it shows a warning when we use EXISTS predicate function:

This feature is deprecated and will be removed in future versions.

The property existence syntax ... exists(variable.property) is deprecated, please use variable.property IS NOT NULL instead

But when we check the docs, it doesn't mention anything about it being deprecated
https://neo4j.com/docs/cypher-manual/current/functions/predicate/#functions-exists

https://neo4j.com/docs/cypher-manual/current/deprecations-additions-removals-compatibility/

Not sure which one to follow.

1 ACCEPTED SOLUTION

Aura is often on the cutting edge for some Cypher changes like this. The documentation should catch up soon.

For that particular deprecation, yes that's the intent, please favor variable.property IS NOT NULL instead. For most deprecations, actual removal tends to happen on major upgrades (so from 4.x to 5.x) which is still years off.

View solution in original post

1 REPLY 1

Aura is often on the cutting edge for some Cypher changes like this. The documentation should catch up soon.

For that particular deprecation, yes that's the intent, please favor variable.property IS NOT NULL instead. For most deprecations, actual removal tends to happen on major upgrades (so from 4.x to 5.x) which is still years off.