alter_schema
- alter_schema(
schema_name: string,
action: string,
value: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<AlterSchemaResponse>Parameters
- schema_name: string
Name of the schema to be altered.
- action: string
Modification operation to be applied.
- value: string
The value of the modification, depending on
action. For now the only value ofactionis rename_schema. In this case the value is the new name of the schema. Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AlterSchemaResponse>
Promise<Types.AlterSchemaResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:4359
- schema_name: string
alter_schema_request
- alter_schema_request(
request: AlterSchemaRequest,
callback?: GPUdbCallback,
): Promise<AlterSchemaResponse>Used to change the name of a SQL-style schema, specified in
schema_name.Parameters
- request: AlterSchemaRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AlterSchemaResponse>
Promise<Types.AlterSchemaResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:4331
- request: AlterSchemaRequest
Used to change the name of a SQL-style schema, specified in
schema_name.