company logo

TypeDefinition :: schemaVersion - Structure schema version

The function returns the current schema version of the type definition. The schema version number is the number of the schema, in which the type definition has been updated the last time.

In some cases, type definitions are updated implicitly, e.g. when the complex data type of an embedded complex attribute changes. Implicit updates are also considered as type modification.

When calling the function with an invalid type definition, the function throws an exception.

Return value:  Major version number ( int32  )

Major versions are defined on database level. database versions are numbered consecutively beginning with 0, when consistent versioning has been enabled.

Implementation details

int32 TypeDefinition  :: schemaVersion (  )