{"action":"created","issue":{"url":"https://api.github.com/repos/codetunnel/mongoose-simpledb/issues/21","labels_url":"https://api.github.com/repos/codetunnel/mongoose-simpledb/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/codetunnel/mongoose-simpledb/issues/21/comments","events_url":"https://api.github.com/repos/codetunnel/mongoose-simpledb/issues/21/events","html_url":"https://github.com/codetunnel/mongoose-simpledb/pull/21","id":116331150,"number":21,"title":"Support of compound indexes","user":{"login":"Santinell","id":3122009,"avatar_url":"https://avatars.githubusercontent.com/u/3122009?v=3","gravatar_id":"","url":"https://api.github.com/users/Santinell","html_url":"https://github.com/Santinell","followers_url":"https://api.github.com/users/Santinell/followers","following_url":"https://api.github.com/users/Santinell/following{/other_user}","gists_url":"https://api.github.com/users/Santinell/gists{/gist_id}","starred_url":"https://api.github.com/users/Santinell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Santinell/subscriptions","organizations_url":"https://api.github.com/users/Santinell/orgs","repos_url":"https://api.github.com/users/Santinell/repos","events_url":"https://api.github.com/users/Santinell/events{/privacy}","received_events_url":"https://api.github.com/users/Santinell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-11T12:59:00Z","updated_at":"2015-11-12T04:42:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/codetunnel/mongoose-simpledb/pulls/21","html_url":"https://github.com/codetunnel/mongoose-simpledb/pull/21","diff_url":"https://github.com/codetunnel/mongoose-simpledb/pull/21.diff","patch_url":"https://github.com/codetunnel/mongoose-simpledb/pull/21.patch"},"body":"Added support of compound indexes. (#15)\r\n\r\nExample:\r\n```javascript\r\n//Unique pair user_id and project_name\r\nexports.indexes = [\r\n  {\r\n    fields: { user_id:1, project_name: 1 },\r\n    options: { unique: true }\r\n  }\r\n]\r\n```"},"comment":{"url":"https://api.github.com/repos/codetunnel/mongoose-simpledb/issues/comments/155995911","html_url":"https://github.com/codetunnel/mongoose-simpledb/pull/21#issuecomment-155995911","issue_url":"https://api.github.com/repos/codetunnel/mongoose-simpledb/issues/21","id":155995911,"user":{"login":"Santinell","id":3122009,"avatar_url":"https://avatars.githubusercontent.com/u/3122009?v=3","gravatar_id":"","url":"https://api.github.com/users/Santinell","html_url":"https://github.com/Santinell","followers_url":"https://api.github.com/users/Santinell/followers","following_url":"https://api.github.com/users/Santinell/following{/other_user}","gists_url":"https://api.github.com/users/Santinell/gists{/gist_id}","starred_url":"https://api.github.com/users/Santinell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Santinell/subscriptions","organizations_url":"https://api.github.com/users/Santinell/orgs","repos_url":"https://api.github.com/users/Santinell/repos","events_url":"https://api.github.com/users/Santinell/events{/privacy}","received_events_url":"https://api.github.com/users/Santinell/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T04:42:49Z","updated_at":"2015-11-12T04:42:49Z","body":"Tests will be soon..."}}