computeSelection Method

Overloads
computeSelection(requestOptions)  
computeSelection(requestContext, requestOptions, ids, scopeId) Deprecated  
computeSelection(requestOptions)  

computeSelection(requestOptions)

Computes selection set based on provided selection scope.

computeSelection(requestOptions: WithClientRequestContext<SelectionScopeRequestOptions<IModelDb> & { ids: string[], scopeId: string }>): Promise<KeySet>

Parameter Type Description
requestOptions WithClientRequestContext<SelectionScopeRequestOptions<IModelDb> & { ids: string[], scopeId: string }>  

Returns - Promise<KeySet>



computeSelection(requestContext, requestOptions, ids, scopeId)

Deprecated  Use an overload with one argument

Computes selection set based on provided selection scope.

computeSelection(requestContext: ClientRequestContext, requestOptions: SelectionScopeRequestOptions<IModelDb>, ids: string[], scopeId: string): Promise<KeySet>

Parameter Type Description
requestContext ClientRequestContext  
requestOptions SelectionScopeRequestOptions<IModelDb>  
ids string[]  
scopeId string  

Returns - Promise<KeySet>



computeSelection(requestOptions)

computeSelection(requestOptions: WithClientRequestContext<ComputeSelectionRequestOptions<IModelDb>>): Promise<KeySet>

Parameter Type Description
requestOptions WithClientRequestContext<ComputeSelectionRequestOptions<IModelDb>>  

Returns - Promise<KeySet>


Defined in

Last Updated: 12 June, 2024