|
@ -77,6 +77,16 @@ class SqlCriteria |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|
|
|
* @param $field string |
|
|
|
|
|
* @param $value array |
|
|
|
|
|
* @return SqlCriteria |
|
|
|
|
|
*/ |
|
|
|
|
|
public function whereNotIn($field, $value) |
|
|
|
|
|
{ |
|
|
|
|
|
return $this->where($field . ' not in ?', $value); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
* @param $field string Field @ex 'field' |
|
|
* @param $field string Field @ex 'field' |
|
|
* @param $order_desc bool Descendant sort direction |
|
|
* @param $order_desc bool Descendant sort direction |
|
|
* @return SqlCriteria |
|
|
* @return SqlCriteria |
|
|