acs::db::nsdb-postgresql method call util unique_exists (public)
<instance of acs::db::nsdb-postgresql> call util unique_exists \ [ -dbn dbn ] -table table -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 (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__unique_exists(:table,:column,:single_p)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle