apm_package_key_from_version_id (public)

 apm_package_key_from_version_id 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 the first time called and then uses a cached value. Calls the proc apm_package_key_from_version_id_mem.

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

Partial Call Graph (max 5 caller/called nodes):
%3 apm_generate_tarball apm_generate_tarball (public) apm_package_key_from_version_id apm_package_key_from_version_id apm_generate_tarball->apm_package_key_from_version_id apm_invoke_callback_proc apm_invoke_callback_proc (public) apm_invoke_callback_proc->apm_package_key_from_version_id apm_mark_version_for_reload apm_mark_version_for_reload (public) apm_mark_version_for_reload->apm_package_key_from_version_id apm_version_disable apm_version_disable (public) apm_version_disable->apm_package_key_from_version_id apm_version_enable apm_version_enable (public) apm_version_enable->apm_package_key_from_version_id apm_package_key_from_version_id_not_cached apm_package_key_from_version_id_not_cached (private) apm_package_key_from_version_id->apm_package_key_from_version_id_not_cached util_memoize util_memoize (public) apm_package_key_from_version_id->util_memoize

Testcases:
No testcase defined.
Source code:
    return [util_memoize [list apm_package_key_from_version_id_not_cached $version_id]]
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: