From 32fbcc3a9e01dd11fcae7aa7ece9cbcbbb23f788 Mon Sep 17 00:00:00 2001 From: Andrew Gale <agale@servicecore.com> Date: Mon, 16 Aug 2021 14:07:07 -0400 Subject: [PATCH] Update AddQuery examples to match function signature --- docs/_sources/quickstart.rst.txt | 2 +- docs/quickstart.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_sources/quickstart.rst.txt b/docs/_sources/quickstart.rst.txt index be66ab08..5291fea4 100644 --- a/docs/_sources/quickstart.rst.txt +++ b/docs/_sources/quickstart.rst.txt @@ -994,7 +994,7 @@ Developers will need to create a ``$batch`` object first, then add the operation .. code-block:: php $batch = $dataService->CreateNewBatch(); - $batch->AddQuery("select * from Customer startPosition 0 maxResults 20", "queryCustomer", "uniqueQuery"); + $batch->AddQuery("select * from Customer startPosition 0 maxResults 20", "uniqueQueryIdentifier"); $batch->AddEntity($invoice, "uniqueIdentifier", "create"); $batch->Execute(); diff --git a/docs/quickstart.html b/docs/quickstart.html index 20e81972..a981f63d 100644 --- a/docs/quickstart.html +++ b/docs/quickstart.html @@ -1067,7 +1067,7 @@ <h3>Batch Request<a class="headerlink" href="#batch-request" title="Permalink to <p>The SDK also support batch requests.</p> <p>Developers will need to create a <code class="docutils literal"><span class="pre">$batch</span></code> object first, then add the operation in the batch request:</p> <div class="highlight-php"><div class="highlight"><pre><span></span><span class="nv">$batch</span> <span class="o">=</span> <span class="nv">$dataService</span><span class="o">-></span><span class="na">CreateNewBatch</span><span class="p">();</span> -<span class="nv">$batch</span><span class="o">-></span><span class="na">AddQuery</span><span class="p">(</span><span class="s2">"select * from Customer startPosition 0 maxResults 20"</span><span class="p">,</span> <span class="s2">"queryCustomer"</span><span class="p">,</span> <span class="s2">"uniqueQuery"</span><span class="p">);</span> +<span class="nv">$batch</span><span class="o">-></span><span class="na">AddQuery</span><span class="p">(</span><span class="s2">"select * from Customer startPosition 0 maxResults 20"</span><span class="p">,</span> <span class="s2">"uniqueQueryIdentifier"</span><span class="p">);</span> <span class="nv">$batch</span><span class="o">-></span><span class="na">AddEntity</span><span class="p">(</span><span class="nv">$invoice</span><span class="p">,</span> <span class="s2">"uniqueIdentifier"</span><span class="p">,</span> <span class="s2">"create"</span><span class="p">);</span> <span class="nv">$batch</span><span class="o">-></span><span class="na">Execute</span><span class="p">();</span> </pre></div>