سؤال

Does cypher replaces neo4j traversal now-a-days? Is neo4j traversal deprecated now?

هل كانت مفيدة؟

المحلول

No, there are many cases where a manual traversal is useful. The Traversal class is indeed deprecated but the TraversalDescription isn't. You can get it via GraphDatabaseService#traversalDescription().

نصائح أخرى

The documentation currently says it's deprecated, but staff says

We are officially continuing with the deprecation of the traversal API, BUT it will stick around and will be maintained until a suitable replacement is available, and that may not happen for awhile. We won't be pulling the rug out from under anyone's feet, this is just a step in preparation for something new.

July 29, 2020

https://community.neo4j.com/t/the-traversal-framework-in-v4/15989/4

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top