-
-
Notifications
You must be signed in to change notification settings - Fork 874
Description
OrientDB Version: 2.2.22
Java Version: n/a
Expected behavior
I use scripts to perform logic on some documents. In such a script, via complex searching, I finally got a RID of some document. That RID is then stored in a variable "$myRID" in the script.
Under some criteria, it happens that I should delete that document. But I do not want to repeat that complex searching for ultimately DELETEing it (might take extra time, and makes the script unnecessary long), while I have already the RID in this variable "$myRID" in the script.
Note: indexes exist, so the DELETE of this document should also update any such indexes. For example, I was informed that a TRUNCATE with a RID would by design NOT update any indexes, so the indexes become inconsistent with the documents in the class.
-> is there no SQL syntax supported in the style of "DELETE FROM $myRID" ?