用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1958|回复: 1
收起左侧

[版本 3.x] 数据库的查询

[复制链接]
发表于 2016-8-30 20:13:27 | 显示全部楼层 |阅读模式
total_count表示总数量,m_count表示消耗数量,现在我想要查询出 total_count-m_count>3 的数据,请问$this->db->where()该怎么写呢?
发表于 2016-8-31 05:35:01 | 显示全部楼层
$where = "query";$this->db->where($where);

本版积分规则