API Reference > imodeljs-backend > iModels > ConcurrencyControl > ConcurrencyControl.CodesManager > query query Method Queries the state of the specified Codes in the code service. query(requestContext: AuthorizedClientRequestContext, specId: string, scopeId: string, value?: string): Promise<HubCode[]> Parameter Type Description requestContext AuthorizedClientRequestContext The client request context specId string The CodeSpec to query scopeId string The scope to query value string Optional. The Code value to query. Returns - Promise<HubCode[]> Defined in core/backend/src/ConcurrencyControl.ts Line 1237 Last Updated: 12 June, 2024