getNodesAndCount Method

Overloads
getNodesAndCount(requestOptions)  
getNodesAndCount(requestOptions, parentKey) Deprecated  

getNodesAndCount(requestOptions)

Retrieves total nodes count and a single page of nodes.

getNodesAndCount(requestOptions: Paged<ExtendedHierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable>>): Promise<{ count: number, nodes: Node[] }>

Parameter Type Description
requestOptions Paged<ExtendedHierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable>>  

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



getNodesAndCount(requestOptions, parentKey)

Deprecated  Use an overload with ExtendedHierarchyRequestOptions

Retrieves total nodes count and a single page of nodes.

getNodesAndCount(requestOptions: Paged<HierarchyRequestOptions<IModelConnection, RulesetVariable>>, parentKey: undefined | NodeKey): Promise<{ count: number, nodes: Node[] }>

Parameter Type Description
requestOptions Paged<HierarchyRequestOptions<IModelConnection, RulesetVariable>>  
parentKey undefined | NodeKey  

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


Defined in

Last Updated: 12 June, 2024