get_records_from_collection
- get_records_from_collection(
table_name: string,
offset?: number,
limit?: number,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<GetRecordsFromCollectionResponse>Parameters
- table_name: string
Name of the collection or table from which records are to be retrieved, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing collection or table.
Optionaloffset: numberA positive integer indicating the number of initial results to skip (this can be useful for paging through the results).
Optionallimit: numberA positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server’s own limit, defined by the max_get_records_size parameter in the server configuration. Use
offsetandlimitto request subsequent pages of results.Optionaloptions: Record<string, string>Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<GetRecordsFromCollectionResponse>
Promise<Types.GetRecordsFromCollectionResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:10395
- table_name: string
get_records_from_collection_request
- get_records_from_collection_request(
request: GetRecordsFromCollectionRequest,
callback?: GPUdbCallback,
): Promise<GetRecordsFromCollectionResponse>Retrieves records from a collection. The operation can optionally return the record IDs which can be used in certain queries such as
delete_records.This operation supports paging through the data via the
offsetandlimitparameters.Note that when using the Java API, it is not possible to retrieve records from join views using this operation.
(DEPRECATED)
Parameters
- request: GetRecordsFromCollectionRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<GetRecordsFromCollectionResponse>
Promise<Types.GetRecordsFromCollectionResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:10347
- request: GetRecordsFromCollectionRequest
Retrieves records from a collection. The operation can optionally return the record IDs which can be used in certain queries such as
delete_records.This operation supports paging through the data via the
offsetandlimitparameters.Note that when using the Java API, it is not possible to retrieve records from join views using this operation.
(DEPRECATED)