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

 <instance of acs::db::nsdb-postgresql[i]> call calendar new \
    [ -dbn dbn ] [ -calendar_id calendar_id ] \
    -calendar_name calendar_name  [ -object_type object_type ] \
    [ -owner_id owner_id ] -private_p private_p  \
    [ -package_id package_id ] [ -context_id context_id ] \
    -creation_date creation_date  [ -creation_user creation_user ] \
    -creation_ip creation_ip 

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

Automatically generated method

Switches:
-dbn
(optional)
-calendar_id
(optional)
-calendar_name
(required)
-object_type
(defaults to "calendar") (optional)
-owner_id
(optional)
-private_p
(required)
-package_id
(optional)
-context_id
(optional)
-creation_date
(required)
-creation_user
(optional)
-creation_ip
(required)

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

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select calendar__new(:calendar_id,:calendar_name,:object_type,:owner_id,:private_p,:package_id,:context_id,:creation_date,:creation_user,:creation_ip)}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: