Skip to main content

system.kanoa.config.updateVersionInfo

Description

This function updates version information such as database, project, or tag version number.

Syntax

updateVersionInfo(versionInfo, userId)

Parameters:
  • versionInfo (dict)
  • userId (int)

  • Returns:
  • int - App Version ID
  • Dictionary

    ParameterTypeRequiredNotes
    typestrType of version information (e.g. 'database', 'project', 'tag')
    namestrName of the database, project, or tag
    elementstrSpecific to the type, for database this could be the schema, can be null
    versionNumberstrVersion number

    Code Examples

    # Example Usage:
    app_version_id = system.kanoa.config.updateVersionInfo(versionInfo, userId)