[eluser]Rubiz'[/eluser]
Hi all..
I think its not possible, but I have a database that has several names of primary keys, exemple promotions_id, news_id, and some with only "id" name.
I use always $this->db->get(); to retrieve this information, but now I see I need to use $this->db->order_by('id', 'desc');, but id registers are with different names, so, I would like to know if is possible make a "order by primary key" or something like that...
Is it?