Hi,
i got the message that the ID(x) function is deprecated ,...
is there any new function that delivery me an identifier for an node. Or do i need to create now my own ?
GraphAcademy
CUP
Learn graphs.
Score for your country.
Represent your country in the GraphAcademy Cup.
Complete courses, earn points, and win weekly prizes.
Hi,
i got the message that the ID(x) function is deprecated ,...
is there any new function that delivery me an identifier for an node. Or do i need to create now my own ?
ID(x) is replaced by ELEMENTID(x). The difference is that ID(x) returns an int while ELEMENTID(x) returns a string. The reason is that ID(x) is only unique within a database, but not necessarily in composite databases, while ELEMENTID(x) is universally unique.
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| ID() function deprecated? How to replace easily? | 21 | 5805 | March 27, 2024 | |
| Node properties - Difference between "identity" and "elementId" | 6 | 1840 | January 12, 2023 | |
| Id vs elementid transactions question | 4 | 2019 | July 18, 2024 | |
| Changing from id() to elementId() in Bloom breaks Scene Actions using $nodes | 6 | 252 | July 23, 2024 | |
| What's the proper approach instead of deprecated `id()` function, for selected `$nodes` in a Scene Action? | 0 | 293 | November 23, 2023 |