src/ORM/Filters/SearchFilter.php
public function exclude(DataQuery $query)
    {
        if (($key = array_search('not', $this->modifiers)) !== false) {
            unset($this->modifiers[$key]);
            return $this->apply($query);
        }
        if (is_array($this->value)) {
            return $this->excludeMany($query);
        } else {
            return $this->excludeOne($query);
        }
    }
public function exclude(DataQuery $query)
    {
        if (($key = array_search('not', $this->modifiers)) !== false) {
            unset($this->modifiers[$key]);
            return $this->apply($query);
        }
        if (is_array($this->value)) {
            return $this->excludeMany($query);
        } else {
            return $this->excludeOne($query);
        }
    }
public function exclude ( DataQuery $ query ) { if ( ( $ key = array_search ( 'not' , $ this -> modifiers ) ) !== false ) { unset ( $ this -> modifiers [ $ key ] ) ; return $ this -> apply ( $ query ) ; } if ( is_array ( $ this -> value ) ) { return $ this -> excludeMany ( $ query ) ; } else { return $ this -> excludeOne ( $ query ) ; } }
Exclude filter criteria from a SQL query.

@param DataQuery $query
@return DataQuery
Exclude filter criteria from a SQL query .