apm_package_upgrade_from (private)
apm_package_upgrade_from package_key version_name
Defined in packages/acs-tcl/tcl/apm-install-procs.tcl
- Parameters:
- package_key (required)
- The package you're installing
- version_name (required)
- The version of the package you're installing
- Returns:
- the version of the package currently installed, which we're upgrading from, if it's different from the version_name passed in. If this is not an upgrade, returns the empty string.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return [db_string apm_package_upgrade_from {} -default ""]Generic XQL file: packages/acs-tcl/tcl/apm-install-procs.xql
PostgreSQL XQL file: <fullquery name="apm_package_upgrade_from.apm_package_upgrade_from"> <querytext> select version_name from apm_package_versions where package_key = :package_key and version_id = apm_package__highest_version(:package_key) </querytext> </fullquery>packages/acs-tcl/tcl/apm-install-procs-postgresql.xql
Oracle XQL file: <fullquery name="apm_package_upgrade_from.apm_package_upgrade_from"> <querytext> select version_name from apm_package_versions where package_key = :package_key and version_id = apm_package.highest_version(:package_key) </querytext> </fullquery>packages/acs-tcl/tcl/apm-install-procs-oracle.xql