create_schema
- create_schema(
schema_name: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<CreateSchemaResponse>Parameters
- schema_name: string
Name of the schema to be created. Has the same naming restrictions as tables.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateSchemaResponse>
Promise<Types.CreateSchemaResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:6493
- schema_name: string
create_schema_request
- create_schema_request(
request: CreateSchemaRequest,
callback?: GPUdbCallback,
): Promise<CreateSchemaResponse>Creates a SQL-style schema. Schemas are containers for tables and views. Multiple tables and views can be defined with the same name in different schemas.
Parameters
- request: CreateSchemaRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateSchemaResponse>
Promise<Types.CreateSchemaResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:6468
- request: CreateSchemaRequest
Creates a SQL-style schema. Schemas are containers for tables and views. Multiple tables and views can be defined with the same name in different schemas.