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

# has_table

### has\_table

<ul>
  <li>
    has\_table(\
    &#x20;table\_name: string,\
    &#x20;options?: Record\<string, string>,\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md),\
    ): Promise\<[HasTableResponse](https://docs.kinetica.com/content/api/typescript/interfaces/HasTableResponse.md)>

    Checks for the existence of a table with the given name.

    #### Parameters

    <ul>
      <li>
        table\_name: string

        Name of the table to check for existence, in \[schema\_name.]table\_name format, using standard name resolution rules.
      </li>

      <li>
        `Optional`options: Record\<string, string>

        Optional parameters.
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[HasTableResponse](https://docs.kinetica.com/content/api/typescript/interfaces/HasTableResponse.md)>

    Promise\<Types.HasTableResponse> - Promise resolving to the response

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

### has\_table\_request

<ul>
  <li>
    has\_table\_request(\
    &#x20;request: [HasTableRequest](https://docs.kinetica.com/content/api/typescript/interfaces/HasTableRequest.md),\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md),\
    ): Promise\<[HasTableResponse](https://docs.kinetica.com/content/api/typescript/interfaces/HasTableResponse.md)>

    Checks for the existence of a table with the given name.

    #### Parameters

    <ul>
      <li>
        request: [HasTableRequest](https://docs.kinetica.com/content/api/typescript/interfaces/HasTableRequest.md)

        Request object containing the parameters for the operation
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[HasTableResponse](https://docs.kinetica.com/content/api/typescript/interfaces/HasTableResponse.md)>

    Promise\<Types.HasTableResponse> - Promise resolving to the response

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


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