aggregate_min_max
- aggregate_min_max(
table_name: string,
column_name: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<AggregateMinMaxResponse>Parameters
- table_name: string
Name of the table on which the operation will be performed. Must be an existing table, in [schema_name.]table_name format, using standard name resolution rules.
- column_name: string
Name of a column or an expression of one or more column on which the min-max will be calculated.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AggregateMinMaxResponse>
Promise<Types.AggregateMinMaxResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:3227
- table_name: string
aggregate_min_max_request
- aggregate_min_max_request(
request: AggregateMinMaxRequest,
callback?: GPUdbCallback,
): Promise<AggregateMinMaxResponse>Calculates and returns the minimum and maximum values of a particular column in a table.
Parameters
- request: AggregateMinMaxRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AggregateMinMaxResponse>
Promise<Types.AggregateMinMaxResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:3201
- request: AggregateMinMaxRequest
Calculates and returns the minimum and maximum values of a particular column in a table.