acs::db::nsdb-postgresql method call content_item copy (public)

 <instance of acs::db::nsdb-postgresql[i]> call content_item copy \
    [ -dbn dbn ] -item_id item_id  -target_folder_id target_folder_id  \
    -creation_user creation_user  [ -creation_ip creation_ip ] \
    [ -name name ]

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

Automatically generated method TYPES: integer integer integer {character varying} {character varying}

Switches:
-dbn (optional)
-item_id (required)
-target_folder_id (required)
-creation_user (required)
-creation_ip (optional, accept empty)
-name (optional, accept empty)

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