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