|
$this->db->select($fieldsStr);
$this->db->from($table);
$this->db->where($whereArr);
$this->db->like($likeArr);
$this->db->order_by($orderByStr);
$this->db->limit($limit);
$query = $this->db->get();
打印出来的sql是:SELECT `id`, `name`, `introduction`, `rule`, `previlige`, `created_at`, `status` FROM `site_admin` ORDER BY `id` desc
limit部分出不来?请问是什么原因? |
|