{"action":"created","issue":{"url":"https://api.github.com/repos/usmanhalalit/pixie/issues/17","repository_url":"https://api.github.com/repos/usmanhalalit/pixie","labels_url":"https://api.github.com/repos/usmanhalalit/pixie/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/usmanhalalit/pixie/issues/17/comments","events_url":"https://api.github.com/repos/usmanhalalit/pixie/issues/17/events","html_url":"https://github.com/usmanhalalit/pixie/issues/17","id":35833780,"number":17,"title":"Transaction Support","user":{"login":"mrjgreen","id":2183391,"avatar_url":"https://avatars.githubusercontent.com/u/2183391?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjgreen","html_url":"https://github.com/mrjgreen","followers_url":"https://api.github.com/users/mrjgreen/followers","following_url":"https://api.github.com/users/mrjgreen/following{/other_user}","gists_url":"https://api.github.com/users/mrjgreen/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjgreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjgreen/subscriptions","organizations_url":"https://api.github.com/users/mrjgreen/orgs","repos_url":"https://api.github.com/users/mrjgreen/repos","events_url":"https://api.github.com/users/mrjgreen/events{/privacy}","received_events_url":"https://api.github.com/users/mrjgreen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/usmanhalalit/pixie/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-06-16T20:37:08Z","updated_at":"2016-03-14T12:29:05Z","closed_at":"2015-12-25T12:00:07Z","body":"Laravel has support for transactions via the \r\n\r\n~~~\r\nDB::transaction(function(){\r\n     DB::insert(...);\r\n     DB::delete(...);\r\n     etc.....\r\n});\r\n~~~\r\nwhich auto begins and commits a transaction before and after calling the callback function.\r\n\r\nWould you consider adding a method to support this?"},"comment":{"url":"https://api.github.com/repos/usmanhalalit/pixie/issues/comments/196290228","html_url":"https://github.com/usmanhalalit/pixie/issues/17#issuecomment-196290228","issue_url":"https://api.github.com/repos/usmanhalalit/pixie/issues/17","id":196290228,"user":{"login":"aiphee","id":6242394,"avatar_url":"https://avatars.githubusercontent.com/u/6242394?v=3","gravatar_id":"","url":"https://api.github.com/users/aiphee","html_url":"https://github.com/aiphee","followers_url":"https://api.github.com/users/aiphee/followers","following_url":"https://api.github.com/users/aiphee/following{/other_user}","gists_url":"https://api.github.com/users/aiphee/gists{/gist_id}","starred_url":"https://api.github.com/users/aiphee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aiphee/subscriptions","organizations_url":"https://api.github.com/users/aiphee/orgs","repos_url":"https://api.github.com/users/aiphee/repos","events_url":"https://api.github.com/users/aiphee/events{/privacy}","received_events_url":"https://api.github.com/users/aiphee/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T12:29:04Z","updated_at":"2016-03-14T12:29:04Z","body":"How to determine if the transaction was successful? Do i have to check every statement in it?"}}