shideon/kohana-redbean — pull request #1 by Standfestgit (2013-11-18 12:10:34+00:00)
Title: Added ability to set multiple databases + added ability to set debug mod...

I've added ability to add multiple databases in config file. Also added ability set RedBean debug mode.

If you add multiple databases you can switch between them like this:

R::selectDatabase('alternate');

// queries for alternate database

// switch back to default
R::selectDatabase('default');
// queries for default database