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

 <instance of acs::db::nsdb-postgresql[i]> call notification new \
    [ -dbn dbn ] [ -notification_id notification_id ] \
    [ -type_id type_id ] [ -object_id object_id ] \
    -notif_date notif_date  [ -response_id response_id ] \
    [ -notif_user notif_user ] -notif_subject notif_subject  \
    -notif_text notif_text  -notif_html notif_html  \
    -file_ids file_ids  -creation_date creation_date  \
    [ -creation_user creation_user ] -creation_ip creation_ip  \
    [ -context_id context_id ]

Defined in packages/acs-api-browser/tcl/api-doc-init.tcl

Automatically generated method

Switches:
-dbn
(optional)
-notification_id
(optional)
-type_id
(optional)
-object_id
(optional)
-notif_date
(required)
-response_id
(optional)
-notif_user
(optional)
-notif_subject
(required)
-notif_text
(required)
-notif_html
(required)
-file_ids
(required)
-creation_date
(required)
-creation_user
(optional)
-creation_ip
(required)
-context_id
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) acs::db::nsdb-postgresql instproc {call notification new} acs::db::nsdb-postgresql instproc {call notification new} acs::db::nsdb-postgresql instproc {call notification new}->db_with_handle

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select notification__new(:notification_id,:type_id,:object_id,:notif_date,:response_id,:notif_user,:notif_subject,:notif_text,:notif_html,:file_ids,:creation_date,:creation_user,:creation_ip,:context_id)}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: