querySchemaVersion Method

Query for a schema of the specified name in this iModel.

querySchemaVersion(schemaName: string): undefined | string

@returns The schema version as a semver-compatible string or undefined if the schema has not been imported.

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

Last Updated: 16 April, 2024