alter_role
- alter_role(
name: string,
action: string,
value: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<AlterRoleResponse>Parameters
- name: string
Name of the role to be altered. Must be an existing role.
- action: string
Modification operation to be applied to the role.
- value: string
The value of the modification, depending on
action. Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AlterRoleResponse>
Promise<Types.AlterRoleResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:4303
- name: string
alter_role_request
- alter_role_request(
request: AlterRoleRequest,
callback?: GPUdbCallback,
): Promise<AlterRoleResponse>Alters a Role.
Parameters
- request: AlterRoleRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AlterRoleResponse>
Promise<Types.AlterRoleResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:4276
- request: AlterRoleRequest
Alters a Role.