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):
%3 db_string db_string (public) apm_package_version_count apm_package_version_count apm_package_version_count->db_string

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

[ hide source ] | [ make this the default ]
Show another procedure: