{"action":"closed","issue":{"url":"https://api.github.com/repos/zabawaba99/firego/issues/81","repository_url":"https://api.github.com/repos/zabawaba99/firego","labels_url":"https://api.github.com/repos/zabawaba99/firego/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/zabawaba99/firego/issues/81/comments","events_url":"https://api.github.com/repos/zabawaba99/firego/issues/81/events","html_url":"https://github.com/zabawaba99/firego/issues/81","id":205565452,"number":81,"title":"Firebase Transaction Function Request","user":{"login":"Acidic9","id":16362377,"avatar_url":"https://avatars1.githubusercontent.com/u/16362377?v=4","gravatar_id":"","url":"https://api.github.com/users/Acidic9","html_url":"https://github.com/Acidic9","followers_url":"https://api.github.com/users/Acidic9/followers","following_url":"https://api.github.com/users/Acidic9/following{/other_user}","gists_url":"https://api.github.com/users/Acidic9/gists{/gist_id}","starred_url":"https://api.github.com/users/Acidic9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Acidic9/subscriptions","organizations_url":"https://api.github.com/users/Acidic9/orgs","repos_url":"https://api.github.com/users/Acidic9/repos","events_url":"https://api.github.com/users/Acidic9/events{/privacy}","received_events_url":"https://api.github.com/users/Acidic9/received_events","type":"User","site_admin":false},"labels":[{"id":180227118,"url":"https://api.github.com/repos/zabawaba99/firego/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":337234390,"url":"https://api.github.com/repos/zabawaba99/firego/labels/in%20progress","name":"in progress","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-02-06T12:14:30Z","updated_at":"2017-08-26T23:54:05Z","closed_at":"2017-08-26T23:54:05Z","body":"Firebase has a function **`transaction(transactionUpdate, onComplete, applyLocally)`** which you can view **[here](https://firebase.google.com/docs/reference/js/firebase.database.Reference#transaction)**.\r\n\r\nThe function's purpose is explained **[here](https://firebase.google.com/docs/database/web/read-and-write#save_data_as_transactions)**:\r\n> When working with data that could be corrupted by concurrent modifications, such as incremental counters, you can use a transaction operation.\r\n\r\nThis is extremely useful and would be a great feature to firego as it is currently unsupported as far as I believe.\r\n\r\nAny thoughts?"}}
{"actor":{"display_login":"zabawaba99"}}