acs::db::nsdb-postgresql method call apm register_application (public)
<instance of acs::db::nsdb-postgresql> call apm register_application \ [ -dbn dbn ] -package_key package_key -pretty_name pretty_name \ -pretty_plural pretty_plural -package_uri package_uri \ [ -initial_install_p initial_install_p ] \ [ -singleton_p singleton_p ] \ [ -implements_subsite_p implements_subsite_p ] \ [ -inherit_templates_p inherit_templates_p ] \ [ -spec_file_path spec_file_path ] \ [ -spec_file_mtime spec_file_mtime ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: {character varying} {character varying} {character varying} {character varying} boolean boolean boolean boolean {character varying} integer
- Switches:
- -dbn (optional)
- -package_key (required)
- -pretty_name (required)
- -pretty_plural (required)
- -package_uri (required)
- -initial_install_p (optional, defaults to
"f")- -singleton_p (optional, defaults to
"f")- -implements_subsite_p (optional, defaults to
"f")- -inherit_templates_p (optional, defaults to
"f")- -spec_file_path (optional, accept empty)
- -spec_file_mtime (optional, accept empty)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select apm__register_application(:package_key,:pretty_name,:pretty_plural,:package_uri,:initial_install_p,:singleton_p,:implements_subsite_p,:inherit_templates_p,:spec_file_path,CAST(:spec_file_mtime AS integer))}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)