{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3177","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3177/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3177/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3177/events","html_url":"https://github.com/orientechnologies/orientdb/issues/3177","id":51764668,"number":3177,"title":"Deleting multiple vertices","user":{"login":"sinfex","id":8995502,"avatar_url":"https://avatars.githubusercontent.com/u/8995502?v=3","gravatar_id":"","url":"https://api.github.com/users/sinfex","html_url":"https://github.com/sinfex","followers_url":"https://api.github.com/users/sinfex/followers","following_url":"https://api.github.com/users/sinfex/following{/other_user}","gists_url":"https://api.github.com/users/sinfex/gists{/gist_id}","starred_url":"https://api.github.com/users/sinfex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinfex/subscriptions","organizations_url":"https://api.github.com/users/sinfex/orgs","repos_url":"https://api.github.com/users/sinfex/repos","events_url":"https://api.github.com/users/sinfex/events{/privacy}","received_events_url":"https://api.github.com/users/sinfex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"luigidellaquila","id":459289,"avatar_url":"https://avatars.githubusercontent.com/u/459289?v=3","gravatar_id":"","url":"https://api.github.com/users/luigidellaquila","html_url":"https://github.com/luigidellaquila","followers_url":"https://api.github.com/users/luigidellaquila/followers","following_url":"https://api.github.com/users/luigidellaquila/following{/other_user}","gists_url":"https://api.github.com/users/luigidellaquila/gists{/gist_id}","starred_url":"https://api.github.com/users/luigidellaquila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigidellaquila/subscriptions","organizations_url":"https://api.github.com/users/luigidellaquila/orgs","repos_url":"https://api.github.com/users/luigidellaquila/repos","events_url":"https://api.github.com/users/luigidellaquila/events{/privacy}","received_events_url":"https://api.github.com/users/luigidellaquila/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/4","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.1-rc1","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/4/labels","id":227432,"number":4,"title":"2.1-rc1","description":"","creator":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":105,"state":"closed","created_at":"2012-12-10T23:58:21Z","updated_at":"2015-08-06T16:13:10Z","due_on":"2015-04-14T22:00:00Z","closed_at":"2015-04-17T12:25:21Z"},"comments":2,"created_at":"2014-12-12T02:41:52Z","updated_at":"2016-01-10T20:26:20Z","closed_at":"2015-03-09T14:36:58Z","body":"Any chance an enhancement for DELETE VERTEX syntax is possible to avoid using subquery targeting multiple RIDs? Considering how SELECT and UPDATE allows a collection of RIDs, one might expect the following to work:\r\n\r\n```DELETE VERTEX [#12:34, #12:35]```\r\n\r\nor, at least,\r\n\r\n```DELETE VERTEX FROM [#12:34, #12:35]```\r\n\r\nInstead, this seems to be the only way:\r\n\r\n```DELETE VERTEX FROM (SELECT FROM [#12:34, #12:35])```"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/170390953","html_url":"https://github.com/orientechnologies/orientdb/issues/3177#issuecomment-170390953","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3177","id":170390953,"user":{"login":"sinfex","id":8995502,"avatar_url":"https://avatars.githubusercontent.com/u/8995502?v=3","gravatar_id":"","url":"https://api.github.com/users/sinfex","html_url":"https://github.com/sinfex","followers_url":"https://api.github.com/users/sinfex/followers","following_url":"https://api.github.com/users/sinfex/following{/other_user}","gists_url":"https://api.github.com/users/sinfex/gists{/gist_id}","starred_url":"https://api.github.com/users/sinfex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinfex/subscriptions","organizations_url":"https://api.github.com/users/sinfex/orgs","repos_url":"https://api.github.com/users/sinfex/repos","events_url":"https://api.github.com/users/sinfex/events{/privacy}","received_events_url":"https://api.github.com/users/sinfex/received_events","type":"User","site_admin":false},"created_at":"2016-01-10T20:26:20Z","updated_at":"2016-01-10T20:26:20Z","body":"How has this been fixed?\r\n\r\n```\r\norientdb {db=test}> DELETE VERTEX [#13:2, #13:3]\r\n```\r\n\r\n> Error: com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #0: Class '[#13:2, #13:3]' was not found\r\n\r\n```\r\norientdb {db=test}> DELETE VERTEX FROM [#13:2, #13:3]\r\n```\r\n\r\n> Error: com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException: Cannot find a command executor for the command request: sql.\r\n\r\n```\r\norientdb {db=test}> DELETE VERTEX FROM (SELECT FROM [#13:2, #13:3])\r\n```\r\n\r\n> Delete record(s) '2' in 0.015000 sec(s).\r\n\r\n"}}