`$query = $this->db->from('user_notifications');
$query = $query->select('user_notifications.*,users.Firstname as name');
$query = $query->order_by('user_notifications.date_added','desc');
$query = $query->get();
echo $query->last_query();
return $query->result_array();`
错误 = 致命错误:调用未定义的方法 CI_DB_mysql_result::last_query()
先感谢您