apm_highest_version_name (public)

 apm_highest_version_name package_key

Defined in packages/acs-tcl/tcl/apm-procs.tcl

Return the highest version of the indicated package.

Parameters:
package_key (required)
Returns:
the version_name of the highest installed version of a package.

Partial Call Graph (max 5 caller/called nodes):
%3 apm_higher_version_installed_p apm_higher_version_installed_p (public) apm_highest_version_name apm_highest_version_name apm_higher_version_installed_p->apm_highest_version_name apm_package_upgrade_p apm_package_upgrade_p (public) apm_package_upgrade_p->apm_highest_version_name packages/acs-admin/www/install/install-3.tcl packages/acs-admin/ www/install/install-3.tcl packages/acs-admin/www/install/install-3.tcl->apm_highest_version_name xo::db::require proc function_args xo::db::require proc function_args (public) xo::db::require proc function_args->apm_highest_version_name db_string db_string (public) apm_highest_version_name->db_string

Testcases:
No testcase defined.
Source code:
    return [db_string apm_highest_version_name {} -default ""]
Generic XQL file:
packages/acs-tcl/tcl/apm-procs.xql

PostgreSQL XQL file:
<fullquery name="apm_highest_version_name.apm_highest_version_name">
    <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-procs-postgresql.xql

Oracle XQL file:
<fullquery name="apm_highest_version_name.apm_highest_version_name">
    <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-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: