FLEAPHP的模糊查询 -- 隐藏的很深,很郁闷

模糊查询: 即使用like查询
http://qeephp.com/bbs/viewthread.php?tid=3268&highlight=%E6%A8%A1%E7%B3%8A%E6%9F%A5%E8%AF%A2
http://qeephp.com/bbs/viewthread.php?tid=1751&extra=page%3D2%26amp;filter%3Ddigest


//LIKE查询:
$conditions =array(
 array('Field1','%中元%','LIKE','OR'),
 array('Field2',100,'>'),
);  //这种方式还能查询关联表字段,即: 关联mappingName.字段名
$rows = $table_obj->findAll($conditions);

//
$conditions = array(
 array('title',"%$title%",'like'),
);  

你可能感兴趣的:(PHP,bbs)