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

 <instance of acs::db::nsdb-postgresql[i]> call content_revision copy \
    [ -dbn dbn ] -revision_id revision_id  [ -copy_id copy_id ] \
    [ -target_item_id target_item_id ] \
    [ -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 integer integer {character varying}

Switches:
-dbn (optional)
-revision_id (required)
-copy_id (optional, accept empty)
-target_item_id (optional, accept empty)
-creation_user (optional, accept empty)
-creation_ip (optional, accept empty)

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select content_revision__copy(CAST(:revision_id AS integer),CAST(:copy_id AS integer),CAST(:target_item_id AS integer),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: