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