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

### clear\_type\_cache

<ul>
  <li>
    clear\_type\_cache(table\_name?: string): void

    Forgets the cached type of one table, or of every table.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.

    #### Parameters

    <ul>
      <li>
        `Optional`table\_name: string

        The table to forget; every table when omitted
      </li>
    </ul>

    #### Returns void

    <ul>
      <li>Defined in [src/GPUdb.ts:1279](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L1279)</li>
    </ul>
  </li>
</ul>


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