Hi Tia, OrientDB has UPSERT for edges, but with limited support, ie. it only checks if the edge already exists between the two vertices and it needs a unique index. See https://orientdb.org/docs/3.0.x/sql/SQL-Create-Edge.html
I hope it helps Thanks Luigi Il giorno dom 23 feb 2020 alle ore 21:14 ODBUser19 < anooprathi.j...@gmail.com> ha scritto: > Hi, > > I am trying to run a batch to create vertex and have Unique Index on one > of the property. Is there any way I can update the record if the vertex was > already present? I am precisely looking for Upsert command. Does OrientDB > has something like this or is there any way I could achieve this. > > TIA! > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to orient-database+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/orient-database/e06383c3-e8ac-435f-9c2b-c92702c33152%40googlegroups.com > <https://groups.google.com/d/msgid/orient-database/e06383c3-e8ac-435f-9c2b-c92702c33152%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/orient-database/CAFZLH8m%3D24HUrkSrB3y%2BCNH9QGXX6nb5g6BQxGCNzNYRdydKBg%40mail.gmail.com.