{"action":"created","issue":{"url":"https://api.github.com/repos/chunksnbits/store.pouchdb/issues/1","labels_url":"https://api.github.com/repos/chunksnbits/store.pouchdb/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/chunksnbits/store.pouchdb/issues/1/comments","events_url":"https://api.github.com/repos/chunksnbits/store.pouchdb/issues/1/events","html_url":"https://github.com/chunksnbits/store.pouchdb/issues/1","id":120995586,"number":1,"title":"using associations","user":{"login":"angelxmoreno","id":363479,"avatar_url":"https://avatars.githubusercontent.com/u/363479?v=3","gravatar_id":"","url":"https://api.github.com/users/angelxmoreno","html_url":"https://github.com/angelxmoreno","followers_url":"https://api.github.com/users/angelxmoreno/followers","following_url":"https://api.github.com/users/angelxmoreno/following{/other_user}","gists_url":"https://api.github.com/users/angelxmoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/angelxmoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelxmoreno/subscriptions","organizations_url":"https://api.github.com/users/angelxmoreno/orgs","repos_url":"https://api.github.com/users/angelxmoreno/repos","events_url":"https://api.github.com/users/angelxmoreno/events{/privacy}","received_events_url":"https://api.github.com/users/angelxmoreno/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-08T12:21:28Z","updated_at":"2015-12-10T08:19:33Z","closed_at":"2015-12-10T08:19:33Z","body":"in the readme the examples has\r\n```\r\nPlaylists.hasMany('tracks');\r\n```\r\n\r\nIn this example, what is the string `tracks` ? is it the name of the store? So for instance:\r\n```js\r\nvar Playlists = new PouchDb('playlist').store();\r\nvar Tracks = new PouchDb('track').store();\r\nPlaylists.hasMany('tracks');\r\nTracks.hasOne('playlist');\r\n```\r\nIs this the right setup ?"},"comment":{"url":"https://api.github.com/repos/chunksnbits/store.pouchdb/issues/comments/163531007","html_url":"https://github.com/chunksnbits/store.pouchdb/issues/1#issuecomment-163531007","issue_url":"https://api.github.com/repos/chunksnbits/store.pouchdb/issues/1","id":163531007,"user":{"login":"angelxmoreno","id":363479,"avatar_url":"https://avatars.githubusercontent.com/u/363479?v=3","gravatar_id":"","url":"https://api.github.com/users/angelxmoreno","html_url":"https://github.com/angelxmoreno","followers_url":"https://api.github.com/users/angelxmoreno/followers","following_url":"https://api.github.com/users/angelxmoreno/following{/other_user}","gists_url":"https://api.github.com/users/angelxmoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/angelxmoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelxmoreno/subscriptions","organizations_url":"https://api.github.com/users/angelxmoreno/orgs","repos_url":"https://api.github.com/users/angelxmoreno/repos","events_url":"https://api.github.com/users/angelxmoreno/events{/privacy}","received_events_url":"https://api.github.com/users/angelxmoreno/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T08:19:33Z","updated_at":"2015-12-10T08:19:33Z","body":"shame on me, did not read that far down: \r\n```\r\nThe store argument can be be either as string with the name of the store or store instance.\r\n```"}}