API Reference > imodeljs-backend > iModels > IModelDb > querySchemaVersion querySchemaVersion Method Query for a schema of the specified name in this iModel. querySchemaVersion(schemaName: string): undefined | string Parameter Type Description schemaName string Returns - undefined | string The schema version as a semver-compatible string or undefined if the schema has not been imported. Defined in core/backend/src/IModelDb.ts Line 1071 Last Updated: 11 June, 2024