apm_package_version_enabled_p (public)

 apm_package_version_enabled_p version_id

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

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

Partial Call Graph (max 5 caller/called nodes):
%3 apm_version_load_status apm_version_load_status (public) apm_package_version_enabled_p apm_package_version_enabled_p apm_version_load_status->apm_package_version_enabled_p db_string db_string (public) apm_package_version_enabled_p->db_string

Testcases:
No testcase defined.
Source code:
    return [db_string apm_package_version_enabled_p {}]
Generic XQL file:
<fullquery name="apm_package_version_enabled_p.apm_package_version_enabled_p">
    <querytext>
      select case when count(*) = 0 then 0 else 1 end from apm_package_versions
      where version_id = :version_id
      and enabled_p = 't'
    </querytext>
</fullquery>
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: