acs::db::nsdb-postgresql method call apm update_parameter (public)
<instance of acs::db::nsdb-postgresql> call apm update_parameter \ [ -dbn dbn ] -parameter_id parameter_id \ [ -parameter_name parameter_name ] [ -description description ] \ [ -datatype datatype ] [ -default_value default_value ] \ [ -section_name section_name ] [ -min_n_values min_n_values ] \ [ -max_n_values max_n_values ]
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} integer integer
- Switches:
- -dbn (optional)
- -parameter_id (required)
- -parameter_name (optional, accept empty)
- -description (optional, accept empty)
- -datatype (optional, defaults to
"string"
)- -default_value (optional, accept empty)
- -section_name (optional, accept empty)
- -min_n_values (optional, defaults to
"1"
)- -max_n_values (optional, defaults to
"1"
)- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select apm__update_parameter(CAST(:parameter_id AS integer),:parameter_name,:description,:datatype,:default_value,:section_name,CAST(:min_n_values AS integer),CAST(:max_n_values AS integer))}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle