acs::db::nsdb-postgresql method call etp get_relative_url (public)

 <instance of acs::db::nsdb-postgresql[i]> call etp get_relative_url \
    [ -dbn dbn ] -item_id item_id  -name name 

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

Automatically generated method TYPES: integer {character varying}

Switches:
-dbn (optional)
-item_id (required)
-name (required)

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