Skip to Content

mvSQL runtime function - Version()

Version() function summary

The version() function provides access to App Builder's current version information. Calling the version() function without any parameters returns the full App Builder version (major.minor.release).

Syntax

version(<parameter>)

Parameters

parameter

An optional parameter that determines which user attribute is returned. Valid parameters include:

  • 'major' - Returns the major numeric value for the App Builder version. For example: 4
  • 'minor' - Returns the minor numeric value for the App Builder version. For example: 4
  • 'build' - Returns the build numeric value for the App Builder version. For example: 12345
  • 'major.minor' - Returns the major and minor numeric values for the App Builder version. For example: 4.0
  • 'major.minor.build' - Returns the full App Builder version (major.minor.release). For example: 4.0.12345
  • 'hash' - Returns the alphanumeric value for the App Builder version hash. For example: fedaf09b
  • 'date' - Returns the date time value for the App Builder version build. For example: 10/13/2023 3:54:27 PM
  • 'isDeveloperBuild' - Returns a boolean value (0 or 1) to indicate if App Builder version is a Developer build. For example: 0
  • 'internalRelease' - Returns the Harmony release version.

Returns

string

See the parameter.

Examples

version()

Returns:

3.3.33390

version('major')

Returns: 3

version('date')

Returns:

10/13/2023 3:54:27 PM

version('internalRelease')

Returns: 10.84