getContentAndSize Method

Deprecated  in 4.5. Use getContentIterator instead.

Retrieves content set size and content which consists of a content descriptor and a page of records.

getContentAndSize(requestOptions: ContentRequestOptions<IModelConnection, Descriptor | DescriptorOverrides, KeySet, RulesetVariable> & ClientDiagnosticsAttribute & { batchSize?: number, maxParallelRequests?: number } & { paging?: PageOptions }): Promise<undefined | { content: Content, size: number }>

Parameter Type Description
requestOptions ContentRequestOptions<IModelConnection, Descriptor | DescriptorOverrides, KeySet, RulesetVariable> & ClientDiagnosticsAttribute & { batchSize?: number, maxParallelRequests?: number } & { paging?: PageOptions }  

Returns - Promise<undefined | { content: Content, size: number }>

Defined in

Last Updated: 14 November, 2024