requireMinimumSchemaVersion Method @beta
Throws an error if the version of the schema specified by schemaName is older than minimumVersion.
The error will indicate the featureName that requires this minimum version.
Use this to produce more helpful errors when interacting with APIs that operate on classes introduced as
schemas evolve.
requireMinimumSchemaVersion(schemaName: string, minimumVersion: ECVersion, featureName: string): void
| Parameter | Type | Description |
|---|---|---|
| schemaName | string | |
| minimumVersion | ECVersion | |
| featureName | string |
Returns - void
Defined in
- core/backend/src/IModelDb.ts Line 1516
Last Updated: 08 November, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.