Here is a way to get elementId
with "4:13d7f794-4413-45d3-a00d-1d027f48ff20:7402" as eid
with eid, [7402, 7404] as ids
unwind ids as ids1
with eid, toString(ids1) as ids2
with ids2, split(eid, ":") as eid2
with ((eid2[0] + ":" + eid2[1] + ":") + ids2) as s1
return s1
Thx! Very much appreciated.
For some reason I failed to spot the obvious number at the end. LOL
And of course one can just create a procedure (backwardCompatibleId()?) in the DB to CALL, and return the id() equivalent.
But elementId() and id() are not interchangeable, as the documentation stated.
Again thanks.
Cheers
It's always been our intention to support elementID() in Bloom directly, but we haven't done so yet as Neo4j 4.4 requires id() and Neo4j 5 supports both. We are now working to address support for both of these functions in Bloom, but you may have come across an error in the Bloom docs in the interim that suggested we were supporting elementID() before we actually did.