{"action":"opened","issue":{"url":"https://api.github.com/repos/thecodingmachine/database.tdbm/issues/91","repository_url":"https://api.github.com/repos/thecodingmachine/database.tdbm","labels_url":"https://api.github.com/repos/thecodingmachine/database.tdbm/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/thecodingmachine/database.tdbm/issues/91/comments","events_url":"https://api.github.com/repos/thecodingmachine/database.tdbm/issues/91/events","html_url":"https://github.com/thecodingmachine/database.tdbm/issues/91","id":155522542,"number":91,"title":"setElements() method","user":{"login":"Kharhamel","id":10496706,"avatar_url":"https://avatars.githubusercontent.com/u/10496706?v=3","gravatar_id":"","url":"https://api.github.com/users/Kharhamel","html_url":"https://github.com/Kharhamel","followers_url":"https://api.github.com/users/Kharhamel/followers","following_url":"https://api.github.com/users/Kharhamel/following{/other_user}","gists_url":"https://api.github.com/users/Kharhamel/gists{/gist_id}","starred_url":"https://api.github.com/users/Kharhamel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kharhamel/subscriptions","organizations_url":"https://api.github.com/users/Kharhamel/orgs","repos_url":"https://api.github.com/users/Kharhamel/repos","events_url":"https://api.github.com/users/Kharhamel/events{/privacy}","received_events_url":"https://api.github.com/users/Kharhamel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-18T14:53:54Z","updated_at":"2016-05-18T14:53:54Z","closed_at":null,"body":"In the case of a many-to-many relationship, it would be nice to have a set method which would take an array of beans as parameter and would compare with the array of already linked elements (remove beans not in the parameter array and add beans not already linked)."}}