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