It is by design, last property overwrite previous,...
# nebula-users
g
It is by design, last property overwrite previous, but you can use RANK to differentiate same edge type versions. That feature can’t be used with Cypher queries.
OpenCypher has no such concept as rank.
❤️ 1
k
is rank an integer? could i possibly use an integer timestamp as rank?
g
Yes it is, and you can use timestamp in eg. linux epoch format or similar.
k
great, thanks!
w
@Kasper by default, when omit, the rank field is 0(as you could see
@0
in your query, when needed, we could insert edge with
@12345
to distinguish same type of edge between one pair of src-dst node. The result(with rank info) could be returned in cypher queries, too. There is no
id
in edges but quadruple of (srcid,dstid,type,rank(0, by default)) is actually the “id” of an edge.
k
ok makes sense, thanks for clarification @wey!
🙌 1