我想通过codeigniter的db helper类编写以下查询,引导我plz
SELECT * FROM table where column like binary "abc";
Run Code Online (Sandbox Code Playgroud)
我试过了
$this->db->select("*");
$this->db->from("table");
$this->db->like("column","binary abc");
$this->db->get();
Run Code Online (Sandbox Code Playgroud)
但它产生了
SELECT * FROM table WHERE column like '%binary abc%'
Run Code Online (Sandbox Code Playgroud) codeigniter ×1