apm_package_installed_p (public)
apm_package_installed_p package_key
Defined in packages/acs-tcl/tcl/apm-procs.tcl
Returns 1 if there is an installed package version corresponding to the package_key, 0 otherwise. Uses a cached value for performance.
- Parameters:
- package_key (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- files__check_info_files
Source code: acs::try_cache ::acs::misc_cache eval apm_package_installed-$package_key { db_0or1row apm_package_installed_p { select 1 from apm_package_versions where package_key = :package_key and installed_p = 't' } }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