acs::db::nsdb-postgresql method call apm_package_version edit (public)
<instance of acs::db::nsdb-postgresql> call apm_package_version edit \ [ -dbn dbn ] [ -new_version_id new_version_id ] \ -version_id version_id [ -version_name version_name ] \ -version_uri version_uri -summary summary \ -description_format description_format -description description \ -release_date release_date -vendor vendor \ -vendor_uri vendor_uri -auto_mount auto_mount \ [ -installed_p installed_p ] \ [ -data_model_loaded_p data_model_loaded_p ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer integer {character varying} {character varying} {character varying} {character varying} {character varying} {timestamp with time zone} {character varying} {character varying} {character varying} boolean boolean
- Switches:
- -dbn (optional)
- -new_version_id (optional, accept empty)
- -version_id (required)
- -version_name (optional, accept empty)
- -version_uri (required)
- -summary (required)
- -description_format (required)
- -description (required)
- -release_date (required)
- -vendor (required)
- -vendor_uri (required)
- -auto_mount (required)
- -installed_p (optional, defaults to
"f"
)- -data_model_loaded_p (optional, defaults to
"f"
)- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select apm_package_version__edit(CAST(:new_version_id AS integer),CAST(:version_id AS integer),:version_name,:version_uri,:summary,:description_format,:description,:release_date,:vendor,:vendor_uri,:auto_mount,:installed_p,:data_model_loaded_p)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle