setVersion Method

Sets the version of the SchemaKey identifying the schema.

setVersion(readVersion?: number, writeVersion?: number, minorVersion?: number): void

Parameter Type Description
readVersion number The read version of the schema. If undefined, the value from the existing SchemaKey will be used.
writeVersion number The write version of the schema. If undefined, the value from the existing SchemaKey will be used.
minorVersion number The minor version of the schema. If undefined, the value from the existing SchemaKey will be used.

Returns - void

Defined in

Last Updated: 30 November, 2023