apm_package_version_installed_p (public)

 apm_package_version_installed_p package_key version_name

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

Parameters:
package_key (required)
version_name (required)
Returns:
1 if the indicated package version is installed, 0 otherwise.

Partial Call Graph (max 5 caller/called nodes):
%3 apm_load_apm_file apm_load_apm_file (public) apm_package_version_installed_p apm_package_version_installed_p apm_load_apm_file->apm_package_version_installed_p packages/acs-admin/www/apm/packages-install-4.tcl packages/acs-admin/ www/apm/packages-install-4.tcl packages/acs-admin/www/apm/packages-install-4.tcl->apm_package_version_installed_p 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_package_version_installed_p db_0or1row db_0or1row (public) apm_package_version_installed_p->db_0or1row

Testcases:
No testcase defined.
Source code:
    return [db_0or1row apm_package_version_installed_p {
        select 1 from apm_package_versions
         where package_key  = :package_key
           and version_name = :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

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