xo::db::DB-postgresql instproc get_value

 <instance of xo::db::DB-postgresql[i]> get_value

Defined in

Partial Call Graph (max 5 caller/called nodes):
%3 test_path_resolve path_resolve (test xowiki) xo::db::DB-postgresql instproc get_value xo::db::DB-postgresql instproc get_value test_path_resolve->xo::db::DB-postgresql instproc get_value test_test_cr_items test_cr_items (test xotcl-core) test_test_cr_items->xo::db::DB-postgresql instproc get_value test_test_xo_db_object test_xo_db_object (test xotcl-core) test_test_xo_db_object->xo::db::DB-postgresql instproc get_value test_xotcl-core xotcl-core (test ) test_xotcl-core->xo::db::DB-postgresql instproc get_value test_xotcl_core_tutorial_1 xotcl_core_tutorial_1 (test ) test_xotcl_core_tutorial_1->xo::db::DB-postgresql instproc get_value

Testcases:
xotcl_core_tutorial_1, xotcl-core, xotcl_core_tutorial_2, xotcl_core_tutorial_4, test_xo_db_object, test_cr_items, xowiki_test_cases, path_resolve
Source code:
if {$sql eq ""} {set sql [:get_sql $qn]}
set prepOpt [expr {[info exists prepare] ? [list -prepare $prepare] : ""}]
set answers [uplevel [list [self] exec_0or1row {*}$prepOpt -bind $bind $sql]]
if {$answers ne ""} {
  set result [ns_set value $answers 0]
  ns_set free $answers
  return $result
}
return $default
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: