alter_datasource
- alter_datasource(
name: string,
datasource_updates_map: Record<string, string>,
options: Record<string, string>,
callback?: GPUdbCallback,
): Promise<AlterDatasourceResponse>Parameters
- name: string
Name of the data source to be altered. Must be an existing data source.
- datasource_updates_map: Record<string, string>
Map containing the properties of the data source to be updated. Error if empty.
- options: Record<string, string>
Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AlterDatasourceResponse>
Promise<Types.AlterDatasourceResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:3952
- name: string
alter_datasource_request
- alter_datasource_request(
request: AlterDatasourceRequest,
callback?: GPUdbCallback,
): Promise<AlterDatasourceResponse>Alters the properties of an existing data source.
Parameters
- request: AlterDatasourceRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AlterDatasourceResponse>
Promise<Types.AlterDatasourceResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:3927
- request: AlterDatasourceRequest
Alters the properties of an existing data source.