company logo

DatabaseHandle :: ResetLastSchemaVersion - Reset last schema version

The function allows resetting the last schema version in a database. Since instances may have changed after introducing the new schema version, data might get lost during this action. In order to suppress resetting and just displaying instances to be reset, one may, however, pass false (NO) in reset_opt.

Return value:  Success ( logical  )

Implementation details

logical DatabaseHandle  :: ResetLastSchemaVersion ( logical reset_opt, uint16 version_nr=CUR_VERSION )
  • reset_opt - Reset option

    When set to true (YES), instances in the database will be reset.

  • version_nr - Database object version number Default: CUR_VERSION