apm_version_installed_p (public)

 apm_version_installed_p version_id

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

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

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-admin/www/apm/package-deinstall.tcl packages/acs-admin/ www/apm/package-deinstall.tcl apm_version_installed_p apm_version_installed_p packages/acs-admin/www/apm/package-deinstall.tcl->apm_version_installed_p packages/acs-admin/www/apm/package-delete-2.tcl packages/acs-admin/ www/apm/package-delete-2.tcl packages/acs-admin/www/apm/package-delete-2.tcl->apm_version_installed_p db_string db_string (public) apm_version_installed_p->db_string

Testcases:
No testcase defined.
Source code:
    return [db_string apm_version_installed_p {} -default 0]
Generic XQL file:
<fullquery name="apm_version_installed_p.apm_version_installed_p">
    <querytext>
      select 1 from apm_package_versions
      where version_id = :version_id
      and installed_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: