Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Patel committed Apr 25, 2019
1 parent d73685a commit 1dc8f21
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/core/Directus/Database/Query/Builder.php
Expand Up @@ -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);
}
Expand All @@ -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);
}
Expand Down Expand Up @@ -759,8 +759,6 @@ protected function buildConditionExpression($condition)
$operator = $notChar . $condition['operator'];

$column = $condition['column'];
echo "hiii<pre>";
print_r($column);
$identifier = $this->getIdentifier($column);
$value = $condition['value'];

Expand Down

0 comments on commit 1dc8f21

Please sign in to comment.