private function buildQueryString($queryOptions)
    {
        if (isset($queryOptions["where"]))
        {
            $queryOptions["where"] = AVClient::_encode($queryOptions["where"], true);
            $queryOptions["where"] = json_encode($queryOptions["where"]);
        }

        return http_build_query($queryOptions);
    }