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

        return $this;
    }