{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4903","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4903/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4903/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4903/events","html_url":"https://github.com/orientechnologies/orientdb/issues/4903","id":104348553,"number":4903,"title":"DELETE VERTEX does not remove deleted records from Linksets ","user":{"login":"chiavelli","id":1857389,"avatar_url":"https://avatars.githubusercontent.com/u/1857389?v=3","gravatar_id":"","url":"https://api.github.com/users/chiavelli","html_url":"https://github.com/chiavelli","followers_url":"https://api.github.com/users/chiavelli/followers","following_url":"https://api.github.com/users/chiavelli/following{/other_user}","gists_url":"https://api.github.com/users/chiavelli/gists{/gist_id}","starred_url":"https://api.github.com/users/chiavelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiavelli/subscriptions","organizations_url":"https://api.github.com/users/chiavelli/orgs","repos_url":"https://api.github.com/users/chiavelli/repos","events_url":"https://api.github.com/users/chiavelli/events{/privacy}","received_events_url":"https://api.github.com/users/chiavelli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-01T20:29:38Z","updated_at":"2015-09-01T21:11:53Z","closed_at":null,"body":"I have one vertex type called ```category```\r\n\r\nAnother vertex type contains a ```LINKSET``` property which links to the ```category``` class\r\n\r\nI have deleted a category vertex using the following command:\r\n```delete vertex category where @rid = 14:8```\r\n\r\nI was expecting that this command would also remove the record from any LINKSETs which contained it, but unfortunately that is not the case.\r\n\r\nIs this expected behavior, or a bug? Should I be going about this a different way?\r\n\r\nI am using OrientDB 2.1-rc3\r\n\r\n@lvca "},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/136862666","html_url":"https://github.com/orientechnologies/orientdb/issues/4903#issuecomment-136862666","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4903","id":136862666,"user":{"login":"chiavelli","id":1857389,"avatar_url":"https://avatars.githubusercontent.com/u/1857389?v=3","gravatar_id":"","url":"https://api.github.com/users/chiavelli","html_url":"https://github.com/chiavelli","followers_url":"https://api.github.com/users/chiavelli/followers","following_url":"https://api.github.com/users/chiavelli/following{/other_user}","gists_url":"https://api.github.com/users/chiavelli/gists{/gist_id}","starred_url":"https://api.github.com/users/chiavelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiavelli/subscriptions","organizations_url":"https://api.github.com/users/chiavelli/orgs","repos_url":"https://api.github.com/users/chiavelli/repos","events_url":"https://api.github.com/users/chiavelli/events{/privacy}","received_events_url":"https://api.github.com/users/chiavelli/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T21:11:53Z","updated_at":"2015-09-01T21:11:53Z","body":"According to the documentation here: \r\nhttp://orientdb.com/docs/2.1/SQL-Delete-Vertex.html \r\n\r\nThe ```delete vertex``` command:\r\n> takes care to remove all the cross references to the vertices in all the edges involved.\r\n\r\n\r\n\r\n"}}