public function compare($column, $operator, $value, $filter = false)
    {
        if (!$this->isFilterable($filter, $value)) {
            return $this;
        }

        if ($value instanceof RawSqlFragmentInterface) {
            $value = $value->getFragment();
        }

        if ($value instanceof RawBindingInterface) {
            $value = $value->getTarget();
        }

        $this->append(sprintf(' %s %s %s ', $this->quote($column), $operator, $value));
        return $this;
    }
public function compare($column, $operator, $value, $filter = false)
    {
        if (!$this->isFilterable($filter, $value)) {
            return $this;
        }

        if ($value instanceof RawSqlFragmentInterface) {
            $value = $value->getFragment();
        }

        if ($value instanceof RawBindingInterface) {
            $value = $value->getTarget();
        }

        $this->append(sprintf(' %s %s %s ', $this->quote($column), $operator, $value));
        return $this;
    }
public function compare ( $ column , $ operator , $ value , $ filter = false ) { if ( ! $ this -> isFilterable ( $ filter , $ value ) ) { return $ this ; } if ( $ value instanceof RawSqlFragmentInterface ) { $ value = $ value -> getFragment ( ) ; } if ( $ value instanceof RawBindingInterface ) { $ value = $ value -> getTarget ( ) ; } $ this -> append ( sprintf ( ' %s %s %s ' , $ this -> quote ( $ column ) , $ operator , $ value ) ) ; return $ this ; }
Appends a raw comparison

@param string $column
@param string $operator
@param string $value
@param boolean $filter Whether to filter by value
@return \Krystal\Db\Sql\QueryBuilder
Appends a raw comparison