schemas Readonly

schemas: ReadonlyArray<string> | undefined

When provided, return a view loaded with at least these schemas plus their references, instead of every schema in the iModel.

The view accumulates: one instance is reused across calls, so a later request - with different schemas or with no filter at all - merges the still-missing schemas into the same view and everything requested earlier stays available. It resets when the iModel's schemas change.

Names the iModel does not contain are ignored. Omitting this option loads all schemas, identical to calling getSchemaView() with no arguments.

Defined in

Last Updated: 28 July, 2026