acs::db::nsdb-postgresql method call content_item get_path (public)
<instance of acs::db::nsdb-postgresql> call content_item get_path \ [ -dbn dbn ] -item_id item_id [ -root_folder_id root_folder_id ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer integer
- Switches:
- -dbn (optional)
- -item_id (required)
- -root_folder_id (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__get_path(CAST(:item_id AS integer),CAST(:root_folder_id AS integer))}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle