Dapatkan baris tunggal di Codeigniter

$query = $this->db->get();
$ret = $query->row();
return $ret->campaign_id;
Lokesh003