[eluser]tmsajin[/eluser]
hi,
i recently found this method myself,
normally we are using $this->db for active record operations,
and this is i tried,
Code:
// call for active record class using DB() function
$ndb = DB(); // $ndb is now an independent active record class object
$ndb->select('pptc_fixed_id as id');
$this->db->select('nonexisting_table'); // this one not affect $ndb
$ndb->select('pptc_type_name as name');
$ndb->from('property_category');
$rs = $ndb->get();
i was thinking , using this way , any method for making union query with multiple db objects. please post your suggestions.
sajin tm