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