Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
addV with existing ID doesn't throw error - Apache TinkerPop
AT
Apache TinkerPop
•
4y ago
•
17 replies
kyano_k
addV with existing ID doesn't throw error
I noticed when I call
addV(newLabel)
addV(newLabel)
with an existing ID but a different label
, it will add the
newLabel
newLabel
and the new properties defined to the existing vertex
.
This is verrrry undesirable behavior
, I would need to it throw a constrain violation
.
Any thoughts
?
Solution
This works on Neptune b
/c of the support for multiple labels
.
:
/
Jump to solution
Apache TinkerPop
Join
Apache TinkerPop is an open source graph computing framework and the home of the Gremlin graph query language.
1,376
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Add Multiple addV() by one Iterate
AT
Apache TinkerPop / questions
3y ago
select T.id + optional properties
AT
Apache TinkerPop / questions
16mo ago
Parameterized edges creation in existing graph
AT
Apache TinkerPop / questions
15mo ago
Ciel function in Math step doesn't seem to work
AT
Apache TinkerPop / questions
4y ago