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

### has\_schema

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

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

    #### Parameters

    <ul>
      <li>
        schema\_name: string

        Name of the schema to check for existence, in root, 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\<[HasSchemaResponse](https://docs.kinetica.com/content/api/typescript/interfaces/HasSchemaResponse.md)>

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

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

### has\_schema\_request

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

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

    #### Parameters

    <ul>
      <li>
        request: [HasSchemaRequest](https://docs.kinetica.com/content/api/typescript/interfaces/HasSchemaRequest.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\<[HasSchemaResponse](https://docs.kinetica.com/content/api/typescript/interfaces/HasSchemaResponse.md)>

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

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


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