getNodesCount Method

Overloads
getNodesCount(requestOptions)  
getNodesCount(requestOptions, parentKey) Deprecated  

getNodesCount(requestOptions)

Retrieves nodes count.

getNodesCount(requestOptions: ExtendedHierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable>): Promise<number>

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

Returns - Promise<number>



getNodesCount(requestOptions, parentKey)

Deprecated  Use an overload with ExtendedHierarchyRequestOptions

Retrieves nodes count.

getNodesCount(requestOptions: HierarchyRequestOptions<IModelConnection, RulesetVariable>, parentKey: undefined | NodeKey): Promise<number>

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

Returns - Promise<number>


Defined in

Last Updated: 11 June, 2024