{"action":"closed","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/5904","repository_url":"https://api.github.com/repos/sequelize/sequelize","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/5904/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/5904/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/5904/events","html_url":"https://github.com/sequelize/sequelize/issues/5904","id":155218877,"number":5904,"title":"Correct way to model.get({plain: true})","user":{"login":"SohaibFarooqi","id":13061583,"avatar_url":"https://avatars.githubusercontent.com/u/13061583?v=3","gravatar_id":"","url":"https://api.github.com/users/SohaibFarooqi","html_url":"https://github.com/SohaibFarooqi","followers_url":"https://api.github.com/users/SohaibFarooqi/followers","following_url":"https://api.github.com/users/SohaibFarooqi/following{/other_user}","gists_url":"https://api.github.com/users/SohaibFarooqi/gists{/gist_id}","starred_url":"https://api.github.com/users/SohaibFarooqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SohaibFarooqi/subscriptions","organizations_url":"https://api.github.com/users/SohaibFarooqi/orgs","repos_url":"https://api.github.com/users/SohaibFarooqi/repos","events_url":"https://api.github.com/users/SohaibFarooqi/events{/privacy}","received_events_url":"https://api.github.com/users/SohaibFarooqi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2016-05-17T09:49:49Z","updated_at":"2016-05-18T19:35:38Z","closed_at":"2016-05-18T19:35:38Z","body":"Hi,\r\nI have a findAll() query that returns array. I am struggling with correct way to place \r\n```model.get({plain: true})```. Do i have to iterate over array and call .get() on each individual object or is there a way to specify this inside model class. \r\nRight now what i am doing is i have a classMethod call trimMeta(array) which iterates over and perform \r\n```model.get({plain: true})```. But doing this cause toJSON() [instanceMethod] to never invoke. "}}