Database :: majorVersionBegin - Get major version begin
When any kind of managed versioning is enabled(versioningMode()), the function returns the starting time point for the major version passed in iVersion. The version number passed in iVersion must be less than version count (majorVersionCount()). The begin of the major version 0 is open, i.e. the begin for first major version is empty.
When an invalid version number has been passed in iVersion or when the versioning mode is not managed, the function throws an exception.
Return value: Timestamp ( odaba::DateTime )
A date time value or timestamp is passed in the internal ODABA Interface::Date-time format.
Implementation details
odaba::DateTime
Database  :: majorVersionBegin ( int32 iVersion )
- iVersion
- Major version number
Major versions are defined on database level. database versions are numbered consecutively beginning with 0, when consistent versioning has been enabled.