Replies: 1 comment 3 replies
-
That is the Gremlin semantics of |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
The g.E() operation has an overload accepting "params obj[] ids"
so you can do something like this: g.E("1", "2", "3", "4") and that is nice
and you can do this:
obj[] someEdgeIds = GetSomeEdgeIds();
g.E(someEdgeIds).Drop()
so far, so good...
The problem arises when, someEdgeIds is empty...
which ends up being the same as: g.E().Drop()... which deletes all edges in the entire database....
Is this intentional?
To me at least it was not expected... and I end up destroying my database.
Beta Was this translation helpful? Give feedback.
All reactions