company logo

Database :: majorVersionCount - Number of major versions

When any kind of managed versioning is enabled ( versioningMode() ), the function returns the number of major versions created for the database. When the versioning mode is not managed, the function returns 0 .

When the database handle is not valid, the function throws an exception.

Return value:  Number of items ( int32  )

The value contains the number of items to be processed or stored in a collection.

Implementation details

int32 Database  :: majorVersionCount (  )