apm_package_version_count (private)
apm_package_version_count package_key
Defined in packages/acs-tcl/tcl/apm-install-procs.tcl
- Parameters:
- package_key (required)
- Returns:
- The number of versions of the indicated package.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return [db_string apm_package_version_count { select count(*) from apm_package_versions where package_key = :package_key } -default 0]Generic XQL file: <fullquery name="apm_package_version_count.apm_package_version_count"> <querytext> select count(*) from apm_package_versions where package_key = :package_key </querytext> </fullquery>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