xo::db::DB-postgresql instproc 1row

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

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 1row xo::db::DB-postgresql instproc 1row test_test_cr_items->xo::db::DB-postgresql instproc 1row test_test_xo_db_object test_xo_db_object (test xotcl-core) test_test_xo_db_object->xo::db::DB-postgresql instproc 1row test_xotcl-core xotcl-core (test ) test_xotcl-core->xo::db::DB-postgresql instproc 1row test_xotcl_core_tutorial_3 xotcl_core_tutorial_3 (test ) test_xotcl_core_tutorial_3->xo::db::DB-postgresql instproc 1row

Testcases:
xotcl_core_tutorial_3, xotcl-core, test_xo_db_object, test_cr_items
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
}
error "query $sql did not return an answer"
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: