getNodesAndCount Method

Retrieves nodes.

getNodesAndCount(requestOptions: Paged<HierarchyRequestOptions<IModelConnection>>, parentKey?: NodeKey): Promise<{ nodes: Node[] }>

Parameter Type Description
requestOptions Paged<HierarchyRequestOptions<IModelConnection>> options for the request
parentKey NodeKey Key of the parent node.

Returns - Promise<{ nodes: Node[] }>

A promise object that returns either a nodes response object with nodes and nodes count on success or an error string on error.

Defined in

Last Updated: 13 June, 2024