system.kanoa.config.updateVersionInfo
Description
This function updates version information such as database, project, or tag version number.Syntax
updateVersionInfo(versionInfo, userId)- versionInfo: dict - Information about the version including type, name, element, and versionNumber.
- 'type' (str): Type of version information ('database', 'project', 'tag')
- 'name' (str): Name of the database, project, or tag
- 'element' (str): Specific to the type, for database, this could be the schema, can be null
- 'versionNumber' (str): Version number
- userId: int - User ID
Code Example
# Example Usage:
app_version_id = system.kanoa.config.updateVersionInfo(versionInfo, userId)