📜  像 codeigniter - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:55.739000             🧑  作者: Mango

代码示例2
$this->db->like('title', 'match', 'before'); 
 // Produces: WHERE title LIKE '%match' 

 $this->db->like('title', 'match', 'after'); 
// Produces: WHERE title LIKE 'match%' 

$this->db->like('title', 'match', 'both'); 
// Produces: WHERE title LIKE '%match%'