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

 <instance of acs::db::nsdb-postgresql[i]> call notification_request new \
    [ -dbn dbn ] -request_id request_id  [ -object_type object_type ] \
    -type_id type_id  -user_id user_id  -object_id object_id  \
    -interval_id interval_id  -delivery_method_id delivery_method_id  \
    -format format  [ -dynamic_p dynamic_p ] \
    -creation_date creation_date  -creation_user creation_user  \
    -creation_ip creation_ip  -context_id context_id 

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

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

Switches:
-dbn (optional)
-request_id (required)
-object_type (optional, defaults to "notification_request")
-type_id (required)
-user_id (required)
-object_id (required)
-interval_id (required)
-delivery_method_id (required)
-format (required)
-dynamic_p (optional, defaults to "f")
-creation_date (required)
-creation_user (required)
-creation_ip (required)
-context_id (required)

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select notification_request__new(CAST(:request_id AS integer),:object_type,CAST(:type_id AS integer),CAST(:user_id AS integer),CAST(:object_id AS integer),CAST(:interval_id AS integer),CAST(:delivery_method_id AS integer),:format,:dynamic_p,:creation_date,CAST(:creation_user AS integer),:creation_ip,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: