|
使用CI_DB如何实现 `column1`="value1" AND (`column2`="value2" OR `column3`="value3")如下,只能组装为 `column1`="value1" AND `column2`="value2" OR `column3`="value3"
$this->db->where('column1', 'value1');
$this->db->where('column2', 'value2');
$this->db->or_where('column3', 'value3'); |
|