acs::db::nsdb-postgresql method call rel_constraint get_constraint_id (public)

 <instance of acs::db::nsdb-postgresql[i]> call rel_constraint get_constraint_id \
    [ -dbn dbn ] -rel_segment rel_segment  -rel_side rel_side  \
    -required_rel_segment required_rel_segment 

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

Automatically generated method TYPES: integer character integer

Switches:
-dbn (optional)
-rel_segment (required)
-rel_side (required)
-required_rel_segment (required)

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