我快到暴怒模式了!
谁能帮我这个??
我对 CodeIgniter 模型设置了限制,所以我只能获得那组结果。为什么它不起作用?记录在函数调用时正确显示,但我得到的超出预期
$this->CI->dbClient->select('id,title,description,url,date,id_first_image')
->from('posts')
->where('deleted',"0")
->where('date >',$date)
//Neither does work here!
->order_by('date','asc')
->limit(5);
$query = $this->CI->dbClient->get();
return $query->result();