drop_datasource
- drop_datasource(
name: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<DropDatasourceResponse>Parameters
- name: string
Name of the data source to be dropped. Must be an existing data source.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<DropDatasourceResponse>
Promise<Types.DropDatasourceResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:8164
- name: string
drop_datasource_request
- drop_datasource_request(
request: DropDatasourceRequest,
callback?: GPUdbCallback,
): Promise<DropDatasourceResponse>Drops an existing data source. Any external tables that depend on the data source must be dropped before it can be dropped.
Parameters
- request: DropDatasourceRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<DropDatasourceResponse>
Promise<Types.DropDatasourceResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:8140
- request: DropDatasourceRequest
Drops an existing data source. Any external tables that depend on the data source must be dropped before it can be dropped.