Skip to main content
interface GetRecordsFromCollectionResponse
data: Record<string, any>[];
info: Record<string, string>;
record_ids: string[];
records_binary: string[];
records_json: string[];
request_time_secs?: number;
table_name: string;
type_names: string[];
data: Record<string, any>[]

Decoded data records

info: Record<string, string>

Additional information.

record_ids: string[]

If the ‘return_record_ids’ option of the request was ‘true’, then this list contains the internal ID for each object. Otherwise it will be empty.

records_binary: string[]

If the encoding parameter of the request was ‘binary’ then this list contains the binary encoded records retrieved from the table/collection. Otherwise, empty list.

records_json: string[]

If the encoding parameter of the request was ‘json’, then this list contains the JSON encoded records retrieved from the table/collection. Otherwise, empty list.

request_time_secs?: number

Server-reported request time in seconds, when it sent one

table_name: string

Value of table_name.

type_names: string[]

The type IDs of the corresponding records in records_binary or records_json. This is useful when table_name is a heterogeneous collection (collections containing tables of different types).