{"action":"opened","issue":{"url":"https://api.github.com/repos/jinzhu/gorm/issues/626","labels_url":"https://api.github.com/repos/jinzhu/gorm/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/jinzhu/gorm/issues/626/comments","events_url":"https://api.github.com/repos/jinzhu/gorm/issues/626/events","html_url":"https://github.com/jinzhu/gorm/issues/626","id":101589267,"number":626,"title":"Should support get table name from .Where(), If it's passing struct address ","user":{"login":"sunfmin","id":1014,"avatar_url":"https://avatars.githubusercontent.com/u/1014?v=3","gravatar_id":"","url":"https://api.github.com/users/sunfmin","html_url":"https://github.com/sunfmin","followers_url":"https://api.github.com/users/sunfmin/followers","following_url":"https://api.github.com/users/sunfmin/following{/other_user}","gists_url":"https://api.github.com/users/sunfmin/gists{/gist_id}","starred_url":"https://api.github.com/users/sunfmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunfmin/subscriptions","organizations_url":"https://api.github.com/users/sunfmin/orgs","repos_url":"https://api.github.com/users/sunfmin/repos","events_url":"https://api.github.com/users/sunfmin/events{/privacy}","received_events_url":"https://api.github.com/users/sunfmin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-18T07:24:07Z","updated_at":"2015-08-18T07:24:07Z","closed_at":null,"body":"```\r\nDB.Where(&ReportItem{ClientDeviceInID: clientDeviceInID}).Delete()\r\n```\r\n\r\nCurrently this doesn't work. Should support it. :-)"}}