{"action":"created","issue":{"url":"https://api.github.com/repos/numberly/mongo-thingy/issues/6","repository_url":"https://api.github.com/repos/numberly/mongo-thingy","labels_url":"https://api.github.com/repos/numberly/mongo-thingy/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/numberly/mongo-thingy/issues/6/comments","events_url":"https://api.github.com/repos/numberly/mongo-thingy/issues/6/events","html_url":"https://github.com/numberly/mongo-thingy/issues/6","id":251704870,"number":6,"title":"Database discovery isn't documented (or working) correctly ","user":{"login":"guilbep","id":161889,"avatar_url":"https://avatars2.githubusercontent.com/u/161889?v=4","gravatar_id":"","url":"https://api.github.com/users/guilbep","html_url":"https://github.com/guilbep","followers_url":"https://api.github.com/users/guilbep/followers","following_url":"https://api.github.com/users/guilbep/following{/other_user}","gists_url":"https://api.github.com/users/guilbep/gists{/gist_id}","starred_url":"https://api.github.com/users/guilbep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilbep/subscriptions","organizations_url":"https://api.github.com/users/guilbep/orgs","repos_url":"https://api.github.com/users/guilbep/repos","events_url":"https://api.github.com/users/guilbep/events{/privacy}","received_events_url":"https://api.github.com/users/guilbep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ramnes","id":835072,"avatar_url":"https://avatars2.githubusercontent.com/u/835072?v=4","gravatar_id":"","url":"https://api.github.com/users/ramnes","html_url":"https://github.com/ramnes","followers_url":"https://api.github.com/users/ramnes/followers","following_url":"https://api.github.com/users/ramnes/following{/other_user}","gists_url":"https://api.github.com/users/ramnes/gists{/gist_id}","starred_url":"https://api.github.com/users/ramnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramnes/subscriptions","organizations_url":"https://api.github.com/users/ramnes/orgs","repos_url":"https://api.github.com/users/ramnes/repos","events_url":"https://api.github.com/users/ramnes/events{/privacy}","received_events_url":"https://api.github.com/users/ramnes/received_events","type":"User","site_admin":false},"assignees":[{"login":"ramnes","id":835072,"avatar_url":"https://avatars2.githubusercontent.com/u/835072?v=4","gravatar_id":"","url":"https://api.github.com/users/ramnes","html_url":"https://github.com/ramnes","followers_url":"https://api.github.com/users/ramnes/followers","following_url":"https://api.github.com/users/ramnes/following{/other_user}","gists_url":"https://api.github.com/users/ramnes/gists{/gist_id}","starred_url":"https://api.github.com/users/ramnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramnes/subscriptions","organizations_url":"https://api.github.com/users/ramnes/orgs","repos_url":"https://api.github.com/users/ramnes/repos","events_url":"https://api.github.com/users/ramnes/events{/privacy}","received_events_url":"https://api.github.com/users/ramnes/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-08-21T16:05:21Z","updated_at":"2017-09-19T11:51:07Z","closed_at":null,"author_association":"MEMBER","body":"For instance:\r\n\r\nIf I have a database sport with a collection synchronised_swimming and I name the class\r\n\r\n```python\r\nclass SynchronisedSwimming(Thingy):\r\n    collection_name = \"synchronised_swimming\"\r\n    database_name = \"sport\"\r\n```\r\n\r\nI have to specify the database; if not it will use the synchronised database which does not make sense in that context.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/numberly/mongo-thingy/issues/comments/330515077","html_url":"https://github.com/numberly/mongo-thingy/issues/6#issuecomment-330515077","issue_url":"https://api.github.com/repos/numberly/mongo-thingy/issues/6","id":330515077,"user":{"login":"ramnes","id":835072,"avatar_url":"https://avatars2.githubusercontent.com/u/835072?v=4","gravatar_id":"","url":"https://api.github.com/users/ramnes","html_url":"https://github.com/ramnes","followers_url":"https://api.github.com/users/ramnes/followers","following_url":"https://api.github.com/users/ramnes/following{/other_user}","gists_url":"https://api.github.com/users/ramnes/gists{/gist_id}","starred_url":"https://api.github.com/users/ramnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramnes/subscriptions","organizations_url":"https://api.github.com/users/ramnes/orgs","repos_url":"https://api.github.com/users/ramnes/repos","events_url":"https://api.github.com/users/ramnes/events{/privacy}","received_events_url":"https://api.github.com/users/ramnes/received_events","type":"User","site_admin":false},"created_at":"2017-09-19T11:51:07Z","updated_at":"2017-09-19T11:51:07Z","author_association":"OWNER","body":"The second example is definitely a bug.\r\n\r\nFor the first example, did you use `connect` with a default database (something like `mongodb://domain/database`)?"}}
{"actor":{"display_login":"ramnes"}}