Usually i like to get my result as object thats why i use result mostly.
But i want to know which is the better approach that i should follow, Which one of them is more efficient to use in regards to performance?
Here is the Example i am talking about:
Code:
$query = $this->db->get();
$result = $query->result();
or is this should be the better??
Code:
$query = $this->db->get();
$result = $query->result_array();
Thank you.