You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can do it in a single statement with CREATE EDGE UPSERT:
CREATE EDGE E UPSERT FROM #22:33 TO #22:55
The UPSERT requires a UNIQUE index on EdgeClass[out, in] and only checks if the edge exists between the two vertices (it doesn't check other properties)
OrientDB Version: 3.0.17
Java Version: JDK 8.x
OS: ubuntu 18.x
Expected behavior
would like to only create one edge, but need to check if exists first
Actual behavior
just don't know how to do this
Steps to reproduce
something like:
CREATE EDGE E FROM #22:33 TO #22:55 IF NOT EXISTS
The text was updated successfully, but these errors were encountered: