{"action":"closed","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4622","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4622/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4622/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4622/events","html_url":"https://github.com/orientechnologies/orientdb/issues/4622","id":96407961,"number":4622,"title":"Delete Vertex and Edge: support BATCH in the syntax to allow blocks of execution items","user":{"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},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/in%20progress","name":"in progress","color":"CCCCCC"}],"state":"closed","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/48","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.1%20GA","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/48/labels","id":1056294,"number":48,"title":"2.1 GA","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":45,"closed_issues":96,"state":"open","created_at":"2015-04-07T14:18:53Z","updated_at":"2015-07-22T09:17:39Z","due_on":"2015-07-27T22:00:00Z","closed_at":null},"comments":0,"created_at":"2015-07-21T20:19:41Z","updated_at":"2015-07-22T09:17:39Z","closed_at":"2015-07-22T09:17:39Z","body":"We could support the same syntax as for `MOVE VERTEX`. Current `DELETE VERTEX` is:\n```sql\nDELETE VERTEX <rid>|<class>|FROM <query> [WHERE <conditions>] [LIMIT <max-records>] [RETURN <COUNT|BEFORE>]>\n```\n\nBy adding BATCH keyword the new syntax would become:\n\n```sql\nDELETE VERTEX <rid>|<class>|FROM <query> [WHERE <conditions>] [LIMIT <max-records>] [BATCH <batch-size>]\n```\n\nThe same for `DELETE EDGE`."}}