findByKey MethodStatic
Find an open IModelDb by its key.
findByKey(key: string): StandaloneDb
@note This method is mainly for use by RPC implementations.
@throws IModelNotFoundResponse if an open IModelDb matching the key is not found.
@see IModel.key
Parameter | Type | Description |
---|---|---|
key | string |
Returns - StandaloneDb
Defined in
- core/backend/src/IModelDb.ts Line 3368
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.