xo::db::DB-postgresql instproc 0or1row

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

Defined in

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_cr_items test_cr_items (test xotcl-core) xo::db::DB-postgresql instproc 0or1row xo::db::DB-postgresql instproc 0or1row test_test_cr_items->xo::db::DB-postgresql instproc 0or1row test_test_xo_db_object test_xo_db_object (test ) test_test_xo_db_object->xo::db::DB-postgresql instproc 0or1row test_xotcl-core xotcl-core (test ) test_xotcl-core->xo::db::DB-postgresql instproc 0or1row test_xowiki_test_cases xowiki_test_cases (test xowiki) test_xowiki_test_cases->xo::db::DB-postgresql instproc 0or1row

Testcases:
test_xo_db_object, xotcl-core, test_cr_items, xowiki_test_cases
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 ""} {
  foreach {att val} [ns_set array $answers] { uplevel [list set $att $val] }
  ns_set free $answers
  return 1
}
return 0
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: