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

 <instance of acs::db::nsdb-postgresql[i]> call category new \
    [ -dbn dbn ] -category_id category_id  -tree_id tree_id  \
    -locale locale  -name name  -description description  \
    -parent_id parent_id  -deprecated_p deprecated_p  \
    -creation_date creation_date  -creation_user creation_user  \
    -creation_ip creation_ip 

Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl

Automatically generated method TYPES: integer integer {character varying} {character varying} {character varying} integer boolean {timestamp with time zone} integer {character varying}

Switches:
-dbn (optional)
-category_id (required)
-tree_id (required)
-locale (required)
-name (required)
-description (required)
-parent_id (required)
-deprecated_p (required)
-creation_date (required)
-creation_user (required)
-creation_ip (required)

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select category__new(CAST(:category_id AS integer),CAST(:tree_id AS integer),:locale,:name,:description,CAST(:parent_id AS integer),:deprecated_p,:creation_date,CAST(:creation_user AS integer),:creation_ip)}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: