acs::db::nsdb-postgresql method call apm_package_version add_dependency (public)
<instance of acs::db::nsdb-postgresql> call apm_package_version add_dependency \ [ -dbn dbn ] -dependency_type dependency_type \ [ -dependency_id dependency_id ] -version_id version_id \ -dependency_uri dependency_uri \ -dependency_version dependency_version
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: {character varying} integer integer {character varying} {character varying}
- Switches:
- -dbn (optional)
- -dependency_type (required)
- -dependency_id (optional, accept empty)
- -version_id (required)
- -dependency_uri (required)
- -dependency_version (required)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select apm_package_version__add_dependency(:dependency_type,CAST(:dependency_id AS integer),CAST(:version_id AS integer),:dependency_uri,:dependency_version)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle