private function constraint($method, $column, $operator, $value, $filter)
    {
        if (!$this->queryBuilder->isFilterable($filter, $value)) {
            return $this;
        }

        call_user_func(array($this->queryBuilder, $method), $column, $operator, $this->createUniqPlaceholder($value));
        return $this;
    }
private function constraint($method, $column, $operator, $value, $filter)
    {
        if (!$this->queryBuilder->isFilterable($filter, $value)) {
            return $this;
        }

        call_user_func(array($this->queryBuilder, $method), $column, $operator, $this->createUniqPlaceholder($value));
        return $this;
    }
private function constraint ( $ method , $ column , $ operator , $ value , $ filter ) { if ( ! $ this -> queryBuilder -> isFilterable ( $ filter , $ value ) ) { return $ this ; } call_user_func ( array ( $ this -> queryBuilder , $ method ) , $ column , $ operator , $ this -> createUniqPlaceholder ( $ value ) ) ; return $ this ; }
Adds a constraint to the query

@param string $method
@param string $column
@param string $operator
@param string $value
@param boolean $filter Whether to filter by empty value
@return \Krystal\Db\Sql\Db
Adds a constraint to the query