[eluser]Ben Edmunds[/eluser]
You can switch DBs like this:
Code:
$DB1 = $this->load->database('default', TRUE);
$DB2 = $this->load->database('wo', TRUE);
and then the key is to overwrite the $this->db object with the db you'd like to use in you're libraries with