{"action":"created","issue":{"url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/31","repository_url":"https://api.github.com/repos/dburles/mongo-collection-instances","labels_url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/31/comments","events_url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/31/events","html_url":"https://github.com/dburles/mongo-collection-instances/issues/31","id":139733604,"number":31,"title":"Maybe add the ability to give names to the local collections?","user":{"login":"ivansglazunov","id":7591093,"avatar_url":"https://avatars.githubusercontent.com/u/7591093?v=3","gravatar_id":"","url":"https://api.github.com/users/ivansglazunov","html_url":"https://github.com/ivansglazunov","followers_url":"https://api.github.com/users/ivansglazunov/followers","following_url":"https://api.github.com/users/ivansglazunov/following{/other_user}","gists_url":"https://api.github.com/users/ivansglazunov/gists{/gist_id}","starred_url":"https://api.github.com/users/ivansglazunov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivansglazunov/subscriptions","organizations_url":"https://api.github.com/users/ivansglazunov/orgs","repos_url":"https://api.github.com/users/ivansglazunov/repos","events_url":"https://api.github.com/users/ivansglazunov/events{/privacy}","received_events_url":"https://api.github.com/users/ivansglazunov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2016-03-09T23:30:55Z","updated_at":"2016-03-10T00:03:12Z","closed_at":null,"body":"```js\r\nabc = new Mongo.Collection(null, { localName: 'abc' });\r\nMongo.Collection.getLocal('abc'); // 1\r\nMongo.Collection.get(null, { localName: 'abc' }); // 2\r\nMongo.Collection.get('abc'); // 3\r\n```\r\nPerhaps it would be necessary to add this capability. I doubt in the interface. Which of these options is more like it? How the best option to name? `localName` somehow ugly."},"comment":{"url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/comments/194577281","html_url":"https://github.com/dburles/mongo-collection-instances/issues/31#issuecomment-194577281","issue_url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/31","id":194577281,"user":{"login":"dburles","id":319567,"avatar_url":"https://avatars.githubusercontent.com/u/319567?v=3","gravatar_id":"","url":"https://api.github.com/users/dburles","html_url":"https://github.com/dburles","followers_url":"https://api.github.com/users/dburles/followers","following_url":"https://api.github.com/users/dburles/following{/other_user}","gists_url":"https://api.github.com/users/dburles/gists{/gist_id}","starred_url":"https://api.github.com/users/dburles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dburles/subscriptions","organizations_url":"https://api.github.com/users/dburles/orgs","repos_url":"https://api.github.com/users/dburles/repos","events_url":"https://api.github.com/users/dburles/events{/privacy}","received_events_url":"https://api.github.com/users/dburles/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T00:03:12Z","updated_at":"2016-03-10T00:03:12Z","body":"Though it would be possibly to overwrite a `ref` if we later define a collection with the same name which may be confusing?. The advantage of using `getRef`means the two are distinct."}}