preSchemaImportCallback
preSchemaImportCallback: (context: PreImportContext<any>) => Promise<PreImportCallbackResult<T>> | undefined
Will be executed before schemas are imported but after channel upgrades. Use this to make any pre import changes to the iModel or use it to cache data or create snapshots for data transformation after the schema import/upgrade.
@note User is responsible to acquiring the necessary locks before making any changes.
Defined in
- core/backend/src/IModelDb.ts Line 345
Last Updated: 23 January, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.