diff --git a/model/SqlCriteria.php b/model/SqlCriteria.php index 23218ed..3da0777 100644 --- a/model/SqlCriteria.php +++ b/model/SqlCriteria.php @@ -87,6 +87,16 @@ class SqlCriteria } /** + * @param $field string + * @param $value array + * @return SqlCriteria + */ + public function whereNot($field, $value) + { + return $this->whereNotIn($field, $value); + } + + /** * @param $field string Field @ex 'field' * @param $order_desc bool Descendant sort direction * @return SqlCriteria