From 1dc8f21af850e1631ba4273778c8372388f5fd9c Mon Sep 17 00:00:00 2001 From: Rahul Patel Date: Fri, 26 Apr 2019 00:55:06 +0530 Subject: [PATCH] #810 Done --- src/core/Directus/Database/Query/Builder.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/Directus/Database/Query/Builder.php b/src/core/Directus/Database/Query/Builder.php index 3add38dcd7..38bc11a7bd 100644 --- a/src/core/Directus/Database/Query/Builder.php +++ b/src/core/Directus/Database/Query/Builder.php @@ -267,7 +267,7 @@ public function orWhereIn($column, $values, $not = false) * * @return Builder */ - public function whereNotIn($column, $values, $not = false, $logical = 'and') + public function whereNotIn($column, array $values, $not = false, $logical = 'and') { return $this->whereIn($column, $values, true, $logical); } @@ -277,7 +277,7 @@ public function whereBetween($column, array $values, $not = false, $logical = 'a return $this->where($column, 'between', $values, $not, $logical); } - public function whereNotBetween($column, $values, $not = false, $logical = 'and') + public function whereNotBetween($column, array $values, $not = false, $logical = 'and') { return $this->whereBetween($column, $values, true, $logical); } @@ -759,8 +759,6 @@ protected function buildConditionExpression($condition) $operator = $notChar . $condition['operator']; $column = $condition['column']; - echo "hiii
";
-        print_r($column);
         $identifier = $this->getIdentifier($column);
         $value = $condition['value'];