> ## 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.

# clear_type_cache

<div className="kinetica-typedoc">
  <div className="section tsd-panel tsd-member">
    <h3 className="tsd-anchor-link" id="clear_type_cache"><span>clear\_type\_cache</span></h3>

    <ul className="tsd-signatures">
      <li className="">
        <div className="tsd-signature tsd-anchor-link" id="clear_type_cache-1"><span className="tsd-kind-call-signature">clear\_type\_cache</span><span className="tsd-signature-symbol">(</span><span className="tsd-kind-parameter">table\_name</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> <span className="tsd-signature-type">void</span></div>

        <div className="tsd-description">
          <div className="tsd-comment tsd-typography">
            <p>Forgets the cached type of one table, or of every table.</p>
            <p>A client using binary encoding looks a table's type up on its first insert into that table and reuses it for later ones. A failed insert drops the table's entry by itself. Call this after altering a table's columns, so the next insert is not encoded in the old layout.</p>
          </div>

          <div className="tsd-parameters">
            <h4 className="tsd-parameters-title">Parameters</h4>

            <ul className="tsd-parameter-list">
              <li>
                <span><code className="tsd-tag">Optional</code><span className="tsd-kind-parameter">table\_name</span>: <span className="tsd-signature-type">string</span></span>

                <div className="tsd-comment tsd-typography">
                  <p>The table to forget; every table when omitted</p>
                </div>
              </li>
            </ul>
          </div>

          <h4 className="tsd-returns-title">Returns <span className="tsd-signature-type">void</span></h4>

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


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