acs::db::nsdb-postgresql method call application_group new (public)

 <instance of acs::db::nsdb-postgresql[i]> call application_group new \
    [ -dbn dbn ] -group_id group_id  [ -object_type object_type ] \
    [ -creation_date creation_date ] -creation_user creation_user  \
    -creation_ip creation_ip  -email email  -url url  \
    -group_name group_name  -package_id package_id  \
    -join_policy join_policy  -context_id context_id 

Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl

Automatically generated method TYPES: integer {character varying} {timestamp with time zone} integer {character varying} {character varying} {character varying} {character varying} integer {character varying} integer

Switches:
-dbn (optional)
-group_id (required)
-object_type (optional, defaults to "application_group")
-creation_date (optional, defaults to "now()")
-creation_user (required)
-creation_ip (required)
-email (required)
-url (required)
-group_name (required)
-package_id (required)
-join_policy (required)
-context_id (required)

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select application_group__new(CAST(:group_id AS integer),:object_type,:creation_date,CAST(:creation_user AS integer),:creation_ip,:email,:url,:group_name,CAST(:package_id AS integer),:join_policy,CAST(:context_id AS integer))}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: