You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2018/04/27 12:19:07 UTC
svn commit: r1830335 - /calcite/site/avatica/docs/go_client_reference.html
Author: francischuang
Date: Fri Apr 27 12:19:07 2018
New Revision: 1830335
URL: http://svn.apache.org/viewvc?rev=1830335&view=rev
Log:
Update go client reference
Modified:
calcite/site/avatica/docs/go_client_reference.html
Modified: calcite/site/avatica/docs/go_client_reference.html
URL: http://svn.apache.org/viewvc/calcite/site/avatica/docs/go_client_reference.html?rev=1830335&r1=1830334&r2=1830335&view=diff
==============================================================================
--- calcite/site/avatica/docs/go_client_reference.html (original)
+++ calcite/site/avatica/docs/go_client_reference.html Fri Apr 27 12:19:07 2018
@@ -882,7 +882,7 @@ in your DSN is set to the same value as
<p>The Go client comes with support for retrieving the error code when an error occurs. This is extremely useful when
you want to take specific action when a particular type of error occurs.</p>
-<p>If the error returned is a ResponseError, the <code class="highlighter-rouge">Name</code>field on the error will return the appropriate
+<p>If the error returned is a ResponseError, the <code class="highlighter-rouge">Name</code> field on the error will return the appropriate
Apache Phoenix error code:</p>
<figure class="highlight"><pre><code class="language-go" data-lang="go"><span class="n">_</span><span class="p">,</span><span class="x"> </span><span class="n">err</span><span class="x"> </span><span class="o">:=</span><span class="x"> </span><span class="n">db</span><span class="o">.</span><span class="n">Exec</span><span class="p">(</span><span class="s">"SELECT * FROM table_that_does_not_exist"</span><span class="p">)</span><span class="x"> </span><span class="c">// Query undefined table</span><span class="x">