acs::db::nsdb-postgresql method call util foreign_key_exists (public)
<instance of acs::db::nsdb-postgresql> call util foreign_key_exists \ [ -dbn dbn ] -table_name table_name -column column \ -reftable reftable -refcolumn refcolumn
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: text text text text
- Switches:
- -dbn (optional)
- -table_name (required)
- -column (required)
- -reftable (required)
- -refcolumn (required)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select util__foreign_key_exists(:table_name,:column,:reftable,:refcolumn)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle