{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/5762","repository_url":"https://api.github.com/repos/sequelize/sequelize","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/5762/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/5762/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/5762/events","html_url":"https://github.com/sequelize/sequelize/issues/5762","id":149181553,"number":5762,"title":"Suggest to implement updated_at result for models.update()","user":{"login":"AndrewBryukhov","id":15821889,"avatar_url":"https://avatars.githubusercontent.com/u/15821889?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewBryukhov","html_url":"https://github.com/AndrewBryukhov","followers_url":"https://api.github.com/users/AndrewBryukhov/followers","following_url":"https://api.github.com/users/AndrewBryukhov/following{/other_user}","gists_url":"https://api.github.com/users/AndrewBryukhov/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewBryukhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewBryukhov/subscriptions","organizations_url":"https://api.github.com/users/AndrewBryukhov/orgs","repos_url":"https://api.github.com/users/AndrewBryukhov/repos","events_url":"https://api.github.com/users/AndrewBryukhov/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewBryukhov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2016-04-18T15:17:12Z","updated_at":"2016-04-19T12:26:37Z","closed_at":"2016-04-18T15:32:24Z","body":"I suggest to implement **updated_at** result for **models.update()** with specific option flag.\r\nI'm found in documentation only this:\r\n\r\n`[options.returning=false]\tBoolean\tReturn the affected rows (only for postgres)`\r\nBut i'm using mysql.\r\n\r\nFor this purpose:\r\n```\r\nLocations.update({name: req.body.name}, {where: {id: req.body.city_id}}).then(function (result) {\r\n    Locations.findById(req.body.city_id, {attributes: ['updated_at']}).then(function (result) {});\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/comments/211900486","html_url":"https://github.com/sequelize/sequelize/issues/5762#issuecomment-211900486","issue_url":"https://api.github.com/repos/sequelize/sequelize/issues/5762","id":211900486,"user":{"login":"AndrewBryukhov","id":15821889,"avatar_url":"https://avatars.githubusercontent.com/u/15821889?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewBryukhov","html_url":"https://github.com/AndrewBryukhov","followers_url":"https://api.github.com/users/AndrewBryukhov/followers","following_url":"https://api.github.com/users/AndrewBryukhov/following{/other_user}","gists_url":"https://api.github.com/users/AndrewBryukhov/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewBryukhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewBryukhov/subscriptions","organizations_url":"https://api.github.com/users/AndrewBryukhov/orgs","repos_url":"https://api.github.com/users/AndrewBryukhov/repos","events_url":"https://api.github.com/users/AndrewBryukhov/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewBryukhov/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T12:26:37Z","updated_at":"2016-04-19T12:26:37Z","body":"I mean, it is equals first message method."}}