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

 <instance of acs::db::nsdb-postgresql[i]> call forums_message new \
    [ -dbn dbn ] [ -message_id message_id ] \
    [ -object_type object_type ] [ -forum_id forum_id ] \
    -subject subject  -content content  -format format  \
    [ -user_id user_id ] -state state  [ -parent_id parent_id ] \
    -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)
-message_id
(optional)
-object_type
(defaults to "forums_message") (optional)
-forum_id
(optional)
-subject
(required)
-content
(required)
-format
(required)
-user_id
(optional)
-state
(required)
-parent_id
(optional)
-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 forums_message new} acs::db::nsdb-postgresql instproc {call forums_message new} acs::db::nsdb-postgresql instproc {call forums_message new}->db_with_handle

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select forums_message__new(:message_id,:object_type,:forum_id,:subject,:content,:format,:user_id,:state,:parent_id,: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: