hi i need connect 2 database with \DB class and get info from theme db1 is fuelphp main database db2 is email server database (module) how can i do that? can i use fuelphp model with db2?
hi Harro, i define protected static $_connection = 'email'; in my model and use this query in controller : data['inbox'] = Model_Email::query() ->related('account') ->where('account.accountaddress', '=', $current_user->email) ->get(); and send me this error : Fuel\Core\FuelException [ Error ]: Database type not defined in "email" configuration or "email" configuration does not exist