> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GPUdbOptions

> GPUdbOptions — Kinetica JavaScript API

<div className="kinetica-typedoc">
  <div className="tsd-page-title" />

  <div className="section tsd-panel tsd-comment">
    <div className="tsd-comment tsd-typography">
      <p>Configuration options for GPUdb client.</p>
    </div>
  </div>

  <div className="tsd-signature"><span className="tsd-signature-keyword">interface</span> <span className="tsd-kind-interface">GPUdbOptions</span> <span className="tsd-signature-symbol">{"{"}</span><br /> <a className="tsd-kind-property" href="#client_name">client\_name</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">string</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#client_version">client\_version</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">string</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#encoding">encoding</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">"binary"</span> <span className="tsd-signature-symbol">|</span> <span className="tsd-signature-type">"json"</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#force_infinity_nan_conversion_to_null">force\_infinity\_nan\_conversion\_to\_null</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">boolean</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#getcookie">getCookie</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-symbol">()</span> <span className="tsd-signature-symbol">=></span> <span className="tsd-signature-type">string</span> <span className="tsd-signature-symbol">|</span> <span className="tsd-signature-type">undefined</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#ha_failover_order">ha\_failover\_order</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">"sequential"</span> <span className="tsd-signature-symbol">|</span> <span className="tsd-signature-type">"random"</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#headers">headers</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">Record</span><span className="tsd-signature-symbol">\<</span><span className="tsd-signature-type">string</span><span className="tsd-signature-symbol">,</span> <span className="tsd-signature-type">string</span><span className="tsd-signature-symbol">></span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#job_endpoints">job\_endpoints</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">boolean</span> <span className="tsd-signature-symbol">|</span> <span className="tsd-signature-type">string</span><span className="tsd-signature-symbol">\[]</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#job_timeout">job\_timeout</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">number</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#max_response_bytes">max\_response\_bytes</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">number</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#oauth_token">oauth\_token</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">string</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#password">password</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">string</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#setcookie">setCookie</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-symbol">(</span><span className="tsd-kind-parameter">cookie</span><span className="tsd-signature-symbol">:</span> <span className="tsd-signature-type">string</span> <span className="tsd-signature-symbol">|</span> <span className="tsd-signature-type">undefined</span><span className="tsd-signature-symbol">)</span> <span className="tsd-signature-symbol">=></span> <span className="tsd-signature-type">void</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#sync">sync</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">boolean</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#timeout">timeout</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">number</span><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#transport">transport</a><span className="tsd-signature-symbol">?:</span> <a href="/content/api/javascript/interfaces/HttpTransport" className="tsd-signature-type tsd-kind-interface">HttpTransport</a><span className="tsd-signature-symbol">;</span><br /> <a className="tsd-kind-property" href="#username">username</a><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">string</span><span className="tsd-signature-symbol">;</span><br /><span className="tsd-signature-symbol">{"}"}</span></div>

  <div className="aside tsd-sources">
    <ul>
      <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L133">src/GPUdb.ts:133</a></li>
    </ul>
  </div>

  <div className="section tsd-panel-group tsd-index-group">
    <div className="section tsd-panel tsd-index-panel">
      <div className="details tsd-index-content tsd-accordion" open="">
        <div className="summary tsd-accordion-summary tsd-index-summary">
          <h5 className="tsd-index-heading uppercase">Index</h5>
        </div>

        <div className="tsd-accordion-details">
          <div className="section tsd-index-section">
            <h3 className="tsd-index-heading tsd-anchor-link" id="properties">Properties</h3>
            <div className="tsd-index-list"><a href="#client_name" className="tsd-index-link"><span>client\_name?</span></a> <a href="#client_version" className="tsd-index-link"><span>client\_version?</span></a> <a href="#encoding" className="tsd-index-link"><span>encoding?</span></a> <a href="#force_infinity_nan_conversion_to_null" className="tsd-index-link"><span>force\_infinity\_nan\_conversion\_to\_null?</span></a> <a href="#getcookie" className="tsd-index-link"><span>getCookie?</span></a> <a href="#ha_failover_order" className="tsd-index-link"><span>ha\_failover\_order?</span></a> <a href="#headers" className="tsd-index-link"><span>headers?</span></a> <a href="#job_endpoints" className="tsd-index-link"><span>job\_endpoints?</span></a> <a href="#job_timeout" className="tsd-index-link"><span>job\_timeout?</span></a> <a href="#max_response_bytes" className="tsd-index-link"><span>max\_response\_bytes?</span></a> <a href="#oauth_token" className="tsd-index-link"><span>oauth\_token?</span></a> <a href="#password" className="tsd-index-link"><span>password?</span></a> <a href="#setcookie" className="tsd-index-link"><span>setCookie?</span></a> <a href="#sync" className="tsd-index-link"><span>sync?</span></a> <a href="#timeout" className="tsd-index-link"><span>timeout?</span></a> <a href="#transport" className="tsd-index-link"><span>transport?</span></a> <a href="#username" className="tsd-index-link"><span>username?</span></a> </div>
          </div>
        </div>
      </div>
    </div>
  </div>

  <div className="details tsd-panel-group tsd-member-group tsd-accordion" open="">
    <div className="summary tsd-accordion-summary" data-key="section-Properties">
      <h2 className="tsd-anchor-link" id="properties-1">Properties</h2>
    </div>

    <div className="section">
      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="client_name"><code className="tsd-tag">Optional</code><span>client\_name</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">client\_name</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">string</span></div>

        <div className="tsd-comment tsd-typography">
          <p>Name of the calling application, prefixed to the User-Agent header. Node.js only: browsers forbid setting User-Agent.</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L212">src/GPUdb.ts:212</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="client_version"><code className="tsd-tag">Optional</code><span>client\_version</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">client\_version</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">string</span></div>

        <div className="tsd-comment tsd-typography">
          <p>Version of the calling application; used with <code>client\_name</code></p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L214">src/GPUdb.ts:214</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="encoding"><code className="tsd-tag">Optional</code><span>encoding</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">encoding</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">"binary"</span> <span className="tsd-signature-symbol">|</span> <span className="tsd-signature-type">"json"</span></div>

        <div className="tsd-comment tsd-typography">
          <p>How requests and responses are encoded: <code>'json'</code>, the default, or <code>'binary'</code> for Avro, the encoding the Java and Python APIs use. Also reachable as <code>GPUdb.ENCODING.{"{"}JSON,BINARY{"}"}</code>.</p>
          <p>Avro payloads are smaller and quicker to encode and decode, which counts most when inserting and reading records. Under <code>'binary'</code>:</p>

          <ul>
            <li>Records passed to <code>insert\_records</code> and <code>update\_records</code> are encoded with the table's type. The client looks it up with <code>show\_table</code> on the first insert into each table and caches it; see <a href="/content/api/javascript/classes/GPUdb/clear-type-cache#clear_type_cache" className="tsd-kind-method">GPUdb.clear\_type\_cache</a>.</li>
            <li>Records from <code>get\_records</code>, and the column-major data of <code>execute\_sql</code>, <code>aggregate\_group\_by</code>, <code>aggregate\_unique</code>, <code>aggregate\_unpivot</code> and <code>get\_records\_by\_column</code>, are decoded with the schema the server returns alongside them.</li>
            <li>Values must match their column types exactly. A number given for a string column, or a record missing a non-nullable column, is rejected with an <code>AvroError</code> naming the field, before anything is sent.</li>
            <li>A long outside Number's safe-integer range decodes to a <code>bigint</code>, in records and response fields alike, rather than losing precision. Note that <code>JSON.stringify</code> throws on a <code>bigint</code>.</li>
            <li>Infinity, -Infinity and NaN decode as numbers, where JSON returns them as quoted strings. <code>force\_infinity\_nan\_conversion\_to\_null</code> turns them into null under either encoding.</li>
            <li>A bytes column decodes to a <code>Uint8Array</code>.</li>
            <li>Endpoints in <code>JSON\_ONLY\_ENDPOINTS</code> (file transfer, jobs, procs, visualization) stay JSON. So does the record data of <code>get\_records\_by\_series</code> and <code>get\_records\_from\_collection</code>, which travels as JSON inside the Avro envelope.</li>
          </ul>

          <p>A custom <a href="#transport" className="tsd-kind-property">GPUdbOptions.transport</a> is handed binary request bodies in <code>HttpRequestOptions.bytes</code> rather than <code>body</code>, and must send them unchanged.</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L293">src/GPUdb.ts:293</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="force_infinity_nan_conversion_to_null"><code className="tsd-tag">Optional</code><span>force\_infinity\_nan\_conversion\_to\_null</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">force\_infinity\_nan\_conversion\_to\_null</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">boolean</span></div>

        <div className="tsd-comment tsd-typography">
          <p>Convert the quoted "Infinity", "-Infinity" and "NaN" strings Kinetica returns for those values into null when decoding a payload.</p>
          <p>Kinetica sends them quoted, so a <code>double</code> column holding one decodes to the JavaScript string "Infinity" rather than a number. Set this to get null instead. Off by default: the conversion walks every key and value of the payload, which the JavaScript API also considered too expensive to make unconditional.</p>
          <p>Equivalent to <code>force\_infinity\_nan\_conversion\_to\_null</code> on the JavaScript API's client, and settable after construction in the same way.</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L235">src/GPUdb.ts:235</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="getcookie"><code className="tsd-tag">Optional</code><span>getCookie</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">getCookie</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-symbol">()</span> <span className="tsd-signature-symbol">=></span> <span className="tsd-signature-type">string</span> <span className="tsd-signature-symbol">|</span> <span className="tsd-signature-type">undefined</span></div>

        <div className="tsd-comment tsd-typography">
          <p>Returns the Cookie header to send with each request. Node.js only: browsers manage cookies themselves and forbid setting the header.</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L219">src/GPUdb.ts:219</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="ha_failover_order"><code className="tsd-tag">Optional</code><span>ha\_failover\_order</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">ha\_failover\_order</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">"sequential"</span> <span className="tsd-signature-symbol">|</span> <span className="tsd-signature-type">"random"</span></div>

        <div className="tsd-comment tsd-typography">
          <p>Order in which clusters are taken from the supplied URL list, for both the initial cluster and the one chosen on failover.</p>
          <p><code>'sequential'</code>, the default, uses the caller's order, so the initial cluster is the first URL. <code>'random'</code> shuffles, randomizing both the initial choice and the failover sequence. Also reachable as <code>GPUdb.HA\_FAILOVER\_ORDER.{"{"}SEQUENTIAL,RANDOM{"}"}</code>.</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L257">src/GPUdb.ts:257</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="headers"><code className="tsd-tag">Optional</code><span>headers</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">headers</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">Record</span><span className="tsd-signature-symbol">\<</span><span className="tsd-signature-type">string</span><span className="tsd-signature-symbol">,</span> <span className="tsd-signature-type">string</span><span className="tsd-signature-symbol">></span></div>

        <div className="tsd-comment tsd-typography">
          <p>Custom HTTP headers</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L201">src/GPUdb.ts:201</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="job_endpoints"><code className="tsd-tag">Optional</code><span>job\_endpoints</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">job\_endpoints</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">boolean</span> <span className="tsd-signature-symbol">|</span> <span className="tsd-signature-type">string</span><span className="tsd-signature-symbol">\[]</span></div>

        <div className="tsd-comment tsd-typography">
          <p>Endpoints to submit through <code>/create/job</code> and poll, rather than calling directly. <code>false</code>, the default, calls every endpoint directly.</p>
          <p>A long ALTER can outlast a proxy's idle timeout, and running it as a job keeps the HTTP request short. That only helps where such a proxy exists: a client talking to Kinetica directly pays two extra round trips, and <a href="#job_timeout" className="tsd-kind-property">JOB\_POLL\_INTERVAL</a> is 5 s, so an ALTER that finishes in milliseconds either costs one extra request or waits out a full poll interval. Off by default for that reason, and because neither the JavaScript nor the Python API wraps these endpoints -- a client that did so silently would diverge from every other Kinetica API.</p>
          <p><code>true</code> uses <a href="/content/api/javascript/classes/GPUdb/static-default-job-endpoints#default_job_endpoints" className="tsd-kind-property">GPUdb.DEFAULT\_JOB\_ENDPOINTS</a>. An array names the endpoint paths to wrap, for a deployment whose proxy cuts off other endpoints too.</p>
          <p>Set <a href="#job_timeout" className="tsd-kind-property">GPUdbOptions.job\_timeout</a> alongside this, or a job that never finishes is polled forever.</p>
        </div>

        <div className="tsd-comment tsd-typography">
          <div className="tsd-tag-example">
            <h4 className="tsd-anchor-link" id="example">Example</h4>

            <div>
              ```
              // Behind a gateway that times out long requests
              new GPUdb(url, { job_endpoints: true, job_timeout: 300000 });

              // A specific set
              new GPUdb(url, { job_endpoints: ['/alter/table'] });
              ```
            </div>
          </div>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L171">src/GPUdb.ts:171</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="job_timeout"><code className="tsd-tag">Optional</code><span>job\_timeout</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">job\_timeout</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">number</span></div>

        <div className="tsd-comment tsd-typography">
          <p>How long to keep polling a job-wrapped endpoint, in milliseconds. 0, the default, means no deadline.</p>
          <p><code>timeout</code> bounds each individual HTTP request; it does not bound the polling loop behind <code>/alter/table</code>, which would otherwise wait for a job that never finishes with no way for the caller to give up. This is a separate option rather than an inheritance of <code>timeout</code> because outlasting a per-request timeout is the whole reason those endpoints are wrapped in a job -- an ALTER over a large table is expected to take longer.</p>
          <p>On expiry the call rejects. The job itself keeps running on the server.</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L185">src/GPUdb.ts:185</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="max_response_bytes"><code className="tsd-tag">Optional</code><span>max\_response\_bytes</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">max\_response\_bytes</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">number</span></div>

        <div className="tsd-comment tsd-typography">
          <p>Largest response body to accept, in bytes. 0, the default, means no ceiling.</p>
          <p>A single unbounded <code>execute\_sql</code> can return more than the process has memory for, and the failure that follows is an out-of-memory kill rather than a caught error. With this set the read is abandoned as soon as the body passes the limit and the call rejects with a <code>ResponseTooLargeError</code>, which names the limit and what was received.</p>
          <p>The request is not retried against another URL: an oversized result follows from the query, not from the node that served it.</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L199">src/GPUdb.ts:199</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="oauth_token"><code className="tsd-tag">Optional</code><span>oauth\_token</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">oauth\_token</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">string</span></div>

        <div className="tsd-comment tsd-typography">
          <p>OAuth2 token for authentication</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L139">src/GPUdb.ts:139</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="password"><code className="tsd-tag">Optional</code><span>password</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">password</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">string</span></div>

        <div className="tsd-comment tsd-typography">
          <p>Password for authentication</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L137">src/GPUdb.ts:137</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="setcookie"><code className="tsd-tag">Optional</code><span>setCookie</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">setCookie</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-symbol">(</span><span className="tsd-kind-parameter">cookie</span><span className="tsd-signature-symbol">:</span> <span className="tsd-signature-type">string</span> <span className="tsd-signature-symbol">|</span> <span className="tsd-signature-type">undefined</span><span className="tsd-signature-symbol">)</span> <span className="tsd-signature-symbol">=></span> <span className="tsd-signature-type">void</span></div>

        <div className="tsd-comment tsd-typography">
          <p>Receives the Set-Cookie header from each response</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L221">src/GPUdb.ts:221</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="sync"><code className="tsd-tag">Optional</code><span>sync</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">sync</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">boolean</span></div>

        <div className="tsd-comment tsd-typography">
          <p>Block instead of returning a promise when no callback is given, restoring the JavaScript API's synchronous browser behaviour.</p>
          <p>Requires a transport with a synchronous mode -- in practice BrowserHttpTransport, which falls back to a blocking XMLHttpRequest. Defaults to false everywhere except the standalone browser build.</p>
          <p>Synchronous requests block the UI thread and are deprecated by browsers; treat this as a migration aid, not a long-term setting.</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L247">src/GPUdb.ts:247</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="timeout"><code className="tsd-tag">Optional</code><span>timeout</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">timeout</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">number</span></div>

        <div className="tsd-comment tsd-typography">
          <p>Request timeout in milliseconds (0 = infinite)</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L141">src/GPUdb.ts:141</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="transport"><code className="tsd-tag">Optional</code><span>transport</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">transport</span><span className="tsd-signature-symbol">?:</span> <a href="/content/api/javascript/interfaces/HttpTransport" className="tsd-signature-type tsd-kind-interface">HttpTransport</a></div>

        <div className="tsd-comment tsd-typography">
          <p>HTTP transport to use. Defaults to <code>fetch</code> in the browser and the <code>http</code>/<code>https</code> modules under Node.js. Supply one to route requests through a proxy, add instrumentation, or stub the network in tests.</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L207">src/GPUdb.ts:207</a></li>
          </ul>
        </div>
      </div>

      <div className="section tsd-panel tsd-member">
        <h3 className="tsd-anchor-link" id="username"><code className="tsd-tag">Optional</code><span>username</span></h3>
        <div className="tsd-signature"><span className="tsd-kind-property">username</span><span className="tsd-signature-symbol">?:</span> <span className="tsd-signature-type">string</span></div>

        <div className="tsd-comment tsd-typography">
          <p>Username for authentication</p>
        </div>

        <div className="aside tsd-sources">
          <ul>
            <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L135">src/GPUdb.ts:135</a></li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.