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

 <instance of acs::db::nsdb-postgresql[i]> call content_template new \
    [ -dbn dbn ] -name name  [ -parent_id parent_id ] \
    [ -template_id template_id ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -text text ] [ -is_live is_live ]

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

Automatically generated method

Switches:
-dbn
(optional)
-name
(required)
-parent_id
(optional)
-template_id
(optional)
-creation_date
(defaults to "now") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-text
(optional)
-is_live
(defaults to "f") (optional)

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

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select content_template__new(:name,:parent_id,:template_id,:creation_date,:creation_user,:creation_ip,:text,:is_live)}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: