acs::db::nsdb-postgresql method call apm_package_version new (public)
<instance of acs::db::nsdb-postgresql> call apm_package_version new \ [ -dbn dbn ] [ -version_id version_id ] -package_key package_key \ [ -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 {character varying} {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)
- -version_id (optional, accept empty)
- -package_key (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__new(CAST(:version_id AS integer),:package_key,: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