apm_get_installed_versions (public)
apm_get_installed_versions -array array
Defined in packages/acs-tcl/tcl/apm-procs.tcl
Sets the current installed version of packages installed on this system in an array keyed by package_key.
- Switches:
- -array (required)
- Name of array in caller's namespace where you want this set
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- files__tcl_file_syntax_errors, files__check_xql_files, files__trailing_whitespace, files__page_contracts
Source code: upvar 1 $array installed_version db_foreach installed_packages { select package_key, version_name from apm_package_versions where enabled_p = 't' } { set installed_version($package_key) $version_name }Generic XQL file: packages/acs-tcl/tcl/apm-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/apm-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/apm-procs-oracle.xql