public static function buildWhereQuery($config, array &$parameters)
    {
        $query = static::buildFilterQuery($config, $parameters);
        if (empty($query)) {
            return '';
        }

        return ' WHERE ' . $query;
    }