{"action":"closed","issue":{"url":"https://api.github.com/repos/adonisjs/adonis-lucid/issues/65","repository_url":"https://api.github.com/repos/adonisjs/adonis-lucid","labels_url":"https://api.github.com/repos/adonisjs/adonis-lucid/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/adonisjs/adonis-lucid/issues/65/comments","events_url":"https://api.github.com/repos/adonisjs/adonis-lucid/issues/65/events","html_url":"https://github.com/adonisjs/adonis-lucid/issues/65","id":184634863,"number":65,"title":"Database hooks not working properly","user":{"login":"juanyunis","id":721132,"avatar_url":"https://avatars.githubusercontent.com/u/721132?v=3","gravatar_id":"","url":"https://api.github.com/users/juanyunis","html_url":"https://github.com/juanyunis","followers_url":"https://api.github.com/users/juanyunis/followers","following_url":"https://api.github.com/users/juanyunis/following{/other_user}","gists_url":"https://api.github.com/users/juanyunis/gists{/gist_id}","starred_url":"https://api.github.com/users/juanyunis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanyunis/subscriptions","organizations_url":"https://api.github.com/users/juanyunis/orgs","repos_url":"https://api.github.com/users/juanyunis/repos","events_url":"https://api.github.com/users/juanyunis/events{/privacy}","received_events_url":"https://api.github.com/users/juanyunis/received_events","type":"User","site_admin":false},"labels":[{"id":471814172,"url":"https://api.github.com/repos/adonisjs/adonis-lucid/labels/docs%20update","name":"docs update","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"thetutlage","id":1706381,"avatar_url":"https://avatars.githubusercontent.com/u/1706381?v=3","gravatar_id":"","url":"https://api.github.com/users/thetutlage","html_url":"https://github.com/thetutlage","followers_url":"https://api.github.com/users/thetutlage/followers","following_url":"https://api.github.com/users/thetutlage/following{/other_user}","gists_url":"https://api.github.com/users/thetutlage/gists{/gist_id}","starred_url":"https://api.github.com/users/thetutlage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thetutlage/subscriptions","organizations_url":"https://api.github.com/users/thetutlage/orgs","repos_url":"https://api.github.com/users/thetutlage/repos","events_url":"https://api.github.com/users/thetutlage/events{/privacy}","received_events_url":"https://api.github.com/users/thetutlage/received_events","type":"User","site_admin":false},"assignees":[{"login":"thetutlage","id":1706381,"avatar_url":"https://avatars.githubusercontent.com/u/1706381?v=3","gravatar_id":"","url":"https://api.github.com/users/thetutlage","html_url":"https://github.com/thetutlage","followers_url":"https://api.github.com/users/thetutlage/followers","following_url":"https://api.github.com/users/thetutlage/following{/other_user}","gists_url":"https://api.github.com/users/thetutlage/gists{/gist_id}","starred_url":"https://api.github.com/users/thetutlage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thetutlage/subscriptions","organizations_url":"https://api.github.com/users/thetutlage/orgs","repos_url":"https://api.github.com/users/thetutlage/repos","events_url":"https://api.github.com/users/thetutlage/events{/privacy}","received_events_url":"https://api.github.com/users/thetutlage/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-10-22T14:58:27Z","updated_at":"2016-11-28T13:42:33Z","closed_at":"2016-11-28T13:42:33Z","body":"When I try to use a multiple record operation like update method like:\n\n``` javascript\nDevice.query().whereIn('id', deviceIds).update({serial: serialNumber})\n```\n\nIt's not triggering the related hooks, beforeUpdate and afterUpdate.\n"}}
{"actor":{"display_login":"thetutlage"}}