acs::db::nsdb-postgresql method call util get_default (public)

 <instance of acs::db::nsdb-postgresql[i]> call util get_default \
    [ -dbn dbn ] -table_name table_name  -column column 

Defined in packages/acs-api-browser/tcl/api-doc-init.tcl

Automatically generated method

Switches:
-dbn
(optional)
-table_name
(required)
-column
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) acs::db::nsdb-postgresql instproc {call util get_default} acs::db::nsdb-postgresql instproc {call util get_default} acs::db::nsdb-postgresql instproc {call util get_default}->db_with_handle

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