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

 <instance of acs::db::nsdb-postgresql[i]> call category_tree new \
    [ -dbn dbn ] [ -tree_id tree_id ] -locale locale  \
    -tree_name tree_name  -description description  \
    -site_wide_p site_wide_p  -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)
-tree_id
(optional)
-locale
(required)
-tree_name
(required)
-description
(required)
-site_wide_p
(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 category_tree new} acs::db::nsdb-postgresql instproc {call category_tree new} acs::db::nsdb-postgresql instproc {call category_tree new}->db_with_handle

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select category_tree__new(:tree_id,:locale,:tree_name,:description,:site_wide_p,: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: