apm::package_version::attributes::get (public)
apm::package_version::attributes::get -version_id version_id \ -array array
Defined in packages/acs-tcl/tcl/apm-install-procs.tcl
Set an array with the attribute values of a certain package version.
- Switches:
- -version_id (required)
- The id of the package version to return attribute values for
- -array (required)
- The name of an array in the callers environment in which the attribute values will be set (with attribute names as keys and attribute values as values).
- Author:
- Peter Marklund
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: upvar $array attributes db_foreach select_attribute_values { select attribute_name, attribute_value from apm_package_version_attr where version_id = :version_id } { set attributes($attribute_name) $attribute_value }Generic XQL file: packages/acs-tcl/tcl/apm-install-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/apm-install-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/apm-install-procs-oracle.xql