API Reference > imodeljs-backend > iModels > StandaloneDb > tryFindByKey tryFindByKey MethodStatic Attempt to find an open IModelDb by key. tryFindByKey(key: string): undefined | StandaloneDb Parameter Type Description key string Returns - undefined | StandaloneDb The matching IModelDb or undefined. Defined in core/backend/src/IModelDb.ts Line 2609 Last Updated: 11 June, 2024