|
在KOHANA手册中,是有in()函数的,可是在我下载的里面不可以用
in()
Creates an IN portion of a query. It has three parameters:
- the column to match
- an array or string of values to match against
- (boolean), to create a NOT clause instead
$db->in('title', array(1,2,3,4,5));
This generates "`title` IN ('1','2','3','4','5')"
手册地址:http://doc.kohanaphp.com/libraries/database/builder#in
难道是2.1.1版本还未支持???
[ 本帖最后由 roveinlove 于 2008-4-26 15:46 编辑 ] |
|