public function matchesQuery($key, $query)
    {
        $queryParam = $query->_getOptions();
        $queryParam["className"] = $query->className;
        $this->addCondition($key, '$inQuery', $queryParam);

        return $this;
    }