{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/1192","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1192/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1192/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1192/events","html_url":"https://github.com/realm/realm-cocoa/issues/1192","id":51219262,"number":1192,"title":"Compound Key","user":{"login":"webmagnets","id":1189875,"avatar_url":"https://avatars.githubusercontent.com/u/1189875?v=3","gravatar_id":"","url":"https://api.github.com/users/webmagnets","html_url":"https://github.com/webmagnets","followers_url":"https://api.github.com/users/webmagnets/followers","following_url":"https://api.github.com/users/webmagnets/following{/other_user}","gists_url":"https://api.github.com/users/webmagnets/gists{/gist_id}","starred_url":"https://api.github.com/users/webmagnets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webmagnets/subscriptions","organizations_url":"https://api.github.com/users/webmagnets/orgs","repos_url":"https://api.github.com/users/webmagnets/repos","events_url":"https://api.github.com/users/webmagnets/events{/privacy}","received_events_url":"https://api.github.com/users/webmagnets/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-12-07T14:25:12Z","updated_at":"2015-09-03T16:15:58Z","closed_at":"2014-12-07T22:26:49Z","body":"It is possible to have a compound key or a composite key (a primary key made up of two columns)?"},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/137499647","html_url":"https://github.com/realm/realm-cocoa/issues/1192#issuecomment-137499647","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1192","id":137499647,"user":{"login":"phaphan","id":8438045,"avatar_url":"https://avatars.githubusercontent.com/u/8438045?v=3","gravatar_id":"","url":"https://api.github.com/users/phaphan","html_url":"https://github.com/phaphan","followers_url":"https://api.github.com/users/phaphan/followers","following_url":"https://api.github.com/users/phaphan/following{/other_user}","gists_url":"https://api.github.com/users/phaphan/gists{/gist_id}","starred_url":"https://api.github.com/users/phaphan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phaphan/subscriptions","organizations_url":"https://api.github.com/users/phaphan/orgs","repos_url":"https://api.github.com/users/phaphan/repos","events_url":"https://api.github.com/users/phaphan/events{/privacy}","received_events_url":"https://api.github.com/users/phaphan/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T16:15:58Z","updated_at":"2015-09-03T16:15:58Z","body":"Can anyone explain to me how I can define compound keys in Objective-C, using realm? I am unable to make this work. I keep getting this error *\"'RLMException', reason: 'Missing property value'\"* for my compound primary key, when trying to implement the solution proposed above. Obviously I'm missing the core concept here.\r\n\r\nThanks."}}