acs::db::nsdb-postgresql method call news clone (public)
<instance of acs::db::nsdb-postgresql> call news clone \ [ -dbn dbn ] -old_package_id old_package_id \ -new_package_id new_package_id
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer integer
- Switches:
- -dbn (optional)
- -old_package_id (required)
- -new_package_id (required)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select news__clone(CAST(:old_package_id AS integer),CAST(:new_package_id AS integer))}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle