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