{"action":"closed","issue":{"url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/686","labels_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/686/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/686/comments","events_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/686/events","html_url":"https://github.com/doctrine/mongodb-odm/issues/686","id":20853304,"number":686,"title":"[mapping] Mapping name and fieldName confused after ORM","user":{"login":"makasim","id":143206,"avatar_url":"https://avatars.githubusercontent.com/u/143206?v=3","gravatar_id":"","url":"https://api.github.com/users/makasim","html_url":"https://github.com/makasim","followers_url":"https://api.github.com/users/makasim/followers","following_url":"https://api.github.com/users/makasim/following{/other_user}","gists_url":"https://api.github.com/users/makasim/gists{/gist_id}","starred_url":"https://api.github.com/users/makasim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makasim/subscriptions","organizations_url":"https://api.github.com/users/makasim/orgs","repos_url":"https://api.github.com/users/makasim/repos","events_url":"https://api.github.com/users/makasim/events{/privacy}","received_events_url":"https://api.github.com/users/makasim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/doctrine/mongodb-odm/labels/documentation","name":"documentation","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/doctrine/mongodb-odm/milestones/6","labels_url":"https://api.github.com/repos/doctrine/mongodb-odm/milestones/6/labels","id":682517,"number":6,"title":"1.0.0-BETA12","description":"","creator":{"login":"jmikola","id":244663,"avatar_url":"https://avatars.githubusercontent.com/u/244663?v=3","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":24,"state":"open","created_at":"2014-06-05T18:50:43Z","updated_at":"2015-01-03T01:28:19Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2013-10-11T07:07:56Z","updated_at":"2015-01-03T01:28:19Z","closed_at":"2015-01-03T01:28:19Z","body":"In Doctrien ORM `name` is a property name where `column` is a name of field in database. It took me some time to get that ODM works in a different way. `name` is a field in mongo object and `fieldName` is a property name.\r\n\r\n"}}