{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/sails-mongo/issues/377","labels_url":"https://api.github.com/repos/balderdashy/sails-mongo/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails-mongo/issues/377/comments","events_url":"https://api.github.com/repos/balderdashy/sails-mongo/issues/377/events","html_url":"https://github.com/balderdashy/sails-mongo/issues/377","id":124057537,"number":377,"title":"Dynamic change databases on the FLY.","user":{"login":"Nishchit14","id":5078921,"avatar_url":"https://avatars.githubusercontent.com/u/5078921?v=3","gravatar_id":"","url":"https://api.github.com/users/Nishchit14","html_url":"https://github.com/Nishchit14","followers_url":"https://api.github.com/users/Nishchit14/followers","following_url":"https://api.github.com/users/Nishchit14/following{/other_user}","gists_url":"https://api.github.com/users/Nishchit14/gists{/gist_id}","starred_url":"https://api.github.com/users/Nishchit14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nishchit14/subscriptions","organizations_url":"https://api.github.com/users/Nishchit14/orgs","repos_url":"https://api.github.com/users/Nishchit14/repos","events_url":"https://api.github.com/users/Nishchit14/events{/privacy}","received_events_url":"https://api.github.com/users/Nishchit14/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-28T11:56:33Z","updated_at":"2015-12-28T13:59:56Z","closed_at":null,"body":"We are working on multiple databases in single project. Now we have plan to migrate it with sails.\r\nSo is there any way to change database as per request.\r\n\r\nScenario looks like.\r\n\r\n1) db1.jsbot.io\r\n2) db2.jsbot.io\r\n\r\nThis two request have their own db scope."},"comment":{"url":"https://api.github.com/repos/balderdashy/sails-mongo/issues/comments/167577010","html_url":"https://github.com/balderdashy/sails-mongo/issues/377#issuecomment-167577010","issue_url":"https://api.github.com/repos/balderdashy/sails-mongo/issues/377","id":167577010,"user":{"login":"devinivy","id":3150233,"avatar_url":"https://avatars.githubusercontent.com/u/3150233?v=3","gravatar_id":"","url":"https://api.github.com/users/devinivy","html_url":"https://github.com/devinivy","followers_url":"https://api.github.com/users/devinivy/followers","following_url":"https://api.github.com/users/devinivy/following{/other_user}","gists_url":"https://api.github.com/users/devinivy/gists{/gist_id}","starred_url":"https://api.github.com/users/devinivy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devinivy/subscriptions","organizations_url":"https://api.github.com/users/devinivy/orgs","repos_url":"https://api.github.com/users/devinivy/repos","events_url":"https://api.github.com/users/devinivy/events{/privacy}","received_events_url":"https://api.github.com/users/devinivy/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T13:59:56Z","updated_at":"2015-12-28T13:59:56Z","body":"I would suggest creating two different collections that differ only by their configured connection."}}