{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/6197","repository_url":"https://api.github.com/repos/sequelize/sequelize","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/6197/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/6197/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/6197/events","html_url":"https://github.com/sequelize/sequelize/issues/6197","id":163293751,"number":6197,"title":"ARRAY Datatype","user":{"login":"jamestwiggle","id":19610736,"avatar_url":"https://avatars.githubusercontent.com/u/19610736?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestwiggle","html_url":"https://github.com/jamestwiggle","followers_url":"https://api.github.com/users/jamestwiggle/followers","following_url":"https://api.github.com/users/jamestwiggle/following{/other_user}","gists_url":"https://api.github.com/users/jamestwiggle/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestwiggle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestwiggle/subscriptions","organizations_url":"https://api.github.com/users/jamestwiggle/orgs","repos_url":"https://api.github.com/users/jamestwiggle/repos","events_url":"https://api.github.com/users/jamestwiggle/events{/privacy}","received_events_url":"https://api.github.com/users/jamestwiggle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sequelize/sequelize/labels/documentation","name":"documentation","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-01T00:08:37Z","updated_at":"2016-07-03T14:02:23Z","closed_at":null,"body":"Hello, I'm trying to use the ARRAY datatype for sequelize with PostgreSQL. However I'm not exactly sure how to utilize it. I know how to set it on the schema but how do you push new items onto the array with a write and retrieve a specific index from the array in a query, etc. \r\n\r\nI tried going to the docs to figure this out however theres not much documentation on this as opposed to other datatypes. If this comes up a lot I would be glad to add docs to it if you can explain it to me. "},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/comments/230154948","html_url":"https://github.com/sequelize/sequelize/issues/6197#issuecomment-230154948","issue_url":"https://api.github.com/repos/sequelize/sequelize/issues/6197","id":230154948,"user":{"login":"janmeier","id":1210224,"avatar_url":"https://avatars.githubusercontent.com/u/1210224?v=3","gravatar_id":"","url":"https://api.github.com/users/janmeier","html_url":"https://github.com/janmeier","followers_url":"https://api.github.com/users/janmeier/followers","following_url":"https://api.github.com/users/janmeier/following{/other_user}","gists_url":"https://api.github.com/users/janmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/janmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmeier/subscriptions","organizations_url":"https://api.github.com/users/janmeier/orgs","repos_url":"https://api.github.com/users/janmeier/repos","events_url":"https://api.github.com/users/janmeier/events{/privacy}","received_events_url":"https://api.github.com/users/janmeier/received_events","type":"User","site_admin":false},"created_at":"2016-07-03T14:02:23Z","updated_at":"2016-07-03T14:02:23Z","body":"Note: \r\nInline modifications of the array are not picked up by sequelize automatically - For example, even if you push a new value onto the array, it will not be updated. You need to either mark it as such `user.changed('roles', true)` or `user.roles = user.roles`"}}
{"actor":{"display_login":"janmeier"}}