CodeIgniter 中国开发者社区's Archiver
论坛
›
CodeIgniter 问答求助
› Active Record中where id in怎样写呢?
smartweb
发表于 2011-4-8 12:17:37
Active Record中where id in怎样写呢?
我从table1取出中id值为12,52,391,541,555,569,845,888,898,899,911,982
这些记录,Active Record该怎样官吏呢?好象没有where id in()这样的形式。
qi_ruo
发表于 2011-4-8 12:23:16
$this->db->where_in('id', array('12', '52', ....));
页:
[1]
查看完整版本:
Active Record中where id in怎样写呢?