【发布时间】:2011-05-05 13:19:41
【问题描述】:
我想使用 KO3 ORM 进行关联查询,这意味着我想在 where 中有两个条件:
现在我有:
public function get_free(){
return $this->where('static_members_only','=',self::FREE);
}
我想拥有:
public function get_free(){
return $this->where('static_members_only','=',self::FREE) AND (some other conditions)
}
有可能吗?
谢谢!
【问题讨论】: