{"action":"closed","issue":{"url":"https://api.github.com/repos/zzzprojects/EntityFramework-Extensions/issues/105","repository_url":"https://api.github.com/repos/zzzprojects/EntityFramework-Extensions","labels_url":"https://api.github.com/repos/zzzprojects/EntityFramework-Extensions/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/zzzprojects/EntityFramework-Extensions/issues/105/comments","events_url":"https://api.github.com/repos/zzzprojects/EntityFramework-Extensions/issues/105/events","html_url":"https://github.com/zzzprojects/EntityFramework-Extensions/issues/105","id":316658568,"number":105,"title":"batch update and batch delete ","user":{"login":"zhuyangping","id":38641795,"avatar_url":"https://avatars2.githubusercontent.com/u/38641795?v=4","gravatar_id":"","url":"https://api.github.com/users/zhuyangping","html_url":"https://github.com/zhuyangping","followers_url":"https://api.github.com/users/zhuyangping/followers","following_url":"https://api.github.com/users/zhuyangping/following{/other_user}","gists_url":"https://api.github.com/users/zhuyangping/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuyangping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuyangping/subscriptions","organizations_url":"https://api.github.com/users/zhuyangping/orgs","repos_url":"https://api.github.com/users/zhuyangping/repos","events_url":"https://api.github.com/users/zhuyangping/events{/privacy}","received_events_url":"https://api.github.com/users/zhuyangping/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"JonathanMagnan","id":23240780,"avatar_url":"https://avatars0.githubusercontent.com/u/23240780?v=4","gravatar_id":"","url":"https://api.github.com/users/JonathanMagnan","html_url":"https://github.com/JonathanMagnan","followers_url":"https://api.github.com/users/JonathanMagnan/followers","following_url":"https://api.github.com/users/JonathanMagnan/following{/other_user}","gists_url":"https://api.github.com/users/JonathanMagnan/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanMagnan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanMagnan/subscriptions","organizations_url":"https://api.github.com/users/JonathanMagnan/orgs","repos_url":"https://api.github.com/users/JonathanMagnan/repos","events_url":"https://api.github.com/users/JonathanMagnan/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanMagnan/received_events","type":"User","site_admin":false},"assignees":[{"login":"JonathanMagnan","id":23240780,"avatar_url":"https://avatars0.githubusercontent.com/u/23240780?v=4","gravatar_id":"","url":"https://api.github.com/users/JonathanMagnan","html_url":"https://github.com/JonathanMagnan","followers_url":"https://api.github.com/users/JonathanMagnan/followers","following_url":"https://api.github.com/users/JonathanMagnan/following{/other_user}","gists_url":"https://api.github.com/users/JonathanMagnan/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanMagnan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanMagnan/subscriptions","organizations_url":"https://api.github.com/users/JonathanMagnan/orgs","repos_url":"https://api.github.com/users/JonathanMagnan/repos","events_url":"https://api.github.com/users/JonathanMagnan/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanMagnan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-04-23T04:32:27Z","updated_at":"2018-05-22T20:40:00Z","closed_at":"2018-05-22T20:40:00Z","author_association":"NONE","body":"Hi, I found that the last generated SQL will use inner join. It will cause database deadlock. Why use inner join in design? \r\nSQL\r\nDELETE A\r\nFROM `yy_travels_follow` AS A\r\nINNER JOIN ( SELECT\r\n`Extent1`.`id`\r\nFROM `yy_travels_follow` AS `Extent1`\r\n WHERE (`Extent1`.`userID` = 72) AND (`Extent1`.`travelsID` = 58) ) AS B ON A.`id` = B.`id`\r\n"}}
{"actor":{"display_login":"JonathanMagnan"}}