public function by($type, $value)
    {
        $this->reloadQueryAdapter();
        $this->activeQuery->triggerLookupMode($type, $value);
        return $this;
    }
public function by($type, $value)
    {
        $this->reloadQueryAdapter();
        $this->activeQuery->triggerLookupMode($type, $value);
        return $this;
    }
public function by ( $ type , $ value ) { $ this -> reloadQueryAdapter ( ) ; $ this -> activeQuery -> triggerLookupMode ( $ type , $ value ) ; return $ this ; }
Forces the query to enter get_term_by lookup mode.
@param  string $type  The field to lookup by
@param  mixed $value The expected value
@return TaxonomyQuery
Forces the query to enter get_term_by lookup mode .