registerSchema MethodStatic
Register a schema prior to using it.
This method registers the schema globally, to register a schema within the scope of a single iModel, use IModelDb.schemaMap.
registerSchema(schema: Schema): void
@throws IModelError if a schema of the same name is already registered.
| Parameter | Type | Description |
|---|---|---|
| schema | Schema |
Returns - void
Defined in
- core/backend/src/Schema.ts Line 131
Last Updated: 16 December, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.