apm_package_key_from_version_id_not_cached (private)

 apm_package_key_from_version_id_not_cached version_id

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

Returns the package_key for the given APM package version id. Goes to the database every time called.

Parameters:
version_id (required)
Author:
Peter Marklund <peter@collaboraid.biz>

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

Testcases:
No testcase defined.
Source code:
    return [db_string apm_package_id_from_key {
        select package_key from apm_package_version_info where version_id = :version_id
    } -default 0]
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: