Any news about implementation of property container functions for Cypher?

5 views
Skip to first unread message

Andrii Stesin

unread,
Sep 8, 2015, 4:40:06 AM9/8/15
to Neo4j
there is a voting here https://trello.com/c/FciCdgWl/7-cypher-property-container-functions on the question:

Both nodes and relationships are understood to be "property containers" which behave as maps (can access the value of a given key) but lack some other access methods. Sometimes (for introspection, or migration, or data harmonization) it is useful to separately access the key, value, or key/value pair.

Possible functions:

MATCH n RETURN keys(n)
Returns the collection of property keys.

MATCH n RETURN values(n)
Returns the collection of property values.

MATCH n RETURN entries(n)
Returns a collection of key/value pairs.

Reference

Forked from a discussion on github: neo4j/neo4j: Issue #164


It seems pretty reasonable "sugar" for Cypher, to deal with properties of both nodes and relationships; are there any plans to implement those in foreseeable future? It should not be too complex to implement, I guess.

Thanks in advance!
WBR,
Andrii

Andrii Stesin

unread,
Sep 8, 2015, 4:42:36 AM9/8/15
to Neo4j
Huh! please take my apologies. Already discovered that in 2.2.5, it's just a perfect reason to upgrade from 2.1.* branch!
Reply all
Reply to author
Forward
0 new messages