{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/5564","repository_url":"https://api.github.com/repos/sequelize/sequelize","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/5564/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/5564/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/5564/events","html_url":"https://github.com/sequelize/sequelize/issues/5564","id":139850947,"number":5564,"title":"Support \"SELECT ... FOR UPDATE OF table\"","user":{"login":"soulchild","id":59642,"avatar_url":"https://avatars.githubusercontent.com/u/59642?v=3","gravatar_id":"","url":"https://api.github.com/users/soulchild","html_url":"https://github.com/soulchild","followers_url":"https://api.github.com/users/soulchild/followers","following_url":"https://api.github.com/users/soulchild/following{/other_user}","gists_url":"https://api.github.com/users/soulchild/gists{/gist_id}","starred_url":"https://api.github.com/users/soulchild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soulchild/subscriptions","organizations_url":"https://api.github.com/users/soulchild/orgs","repos_url":"https://api.github.com/users/soulchild/repos","events_url":"https://api.github.com/users/soulchild/events{/privacy}","received_events_url":"https://api.github.com/users/soulchild/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sequelize/sequelize/labels/feature","name":"feature","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-10T10:42:25Z","updated_at":"2016-03-10T10:57:55Z","closed_at":null,"body":"Sequelize already supports `SELECT ... FOR UPDATE`, but when joining tables you have to be more specific, which tables you want to lock for update. PostgreSQL allows this via `SELECT ... FOR UPDATE OF <table>`. Could Sequelize's current lock feature be extended to support this as well?"},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/comments/194790805","html_url":"https://github.com/sequelize/sequelize/issues/5564#issuecomment-194790805","issue_url":"https://api.github.com/repos/sequelize/sequelize/issues/5564","id":194790805,"user":{"login":"mickhansen","id":699049,"avatar_url":"https://avatars.githubusercontent.com/u/699049?v=3","gravatar_id":"","url":"https://api.github.com/users/mickhansen","html_url":"https://github.com/mickhansen","followers_url":"https://api.github.com/users/mickhansen/followers","following_url":"https://api.github.com/users/mickhansen/following{/other_user}","gists_url":"https://api.github.com/users/mickhansen/gists{/gist_id}","starred_url":"https://api.github.com/users/mickhansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickhansen/subscriptions","organizations_url":"https://api.github.com/users/mickhansen/orgs","repos_url":"https://api.github.com/users/mickhansen/repos","events_url":"https://api.github.com/users/mickhansen/events{/privacy}","received_events_url":"https://api.github.com/users/mickhansen/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T10:57:55Z","updated_at":"2016-03-10T10:57:55Z","body":"Agreed. If you could provide a pull request based on the API we discussed that would be great."}}