xo::db::DB-postgresql instproc list

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

Defined in

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl-core xotcl-core (test ) xo::db::DB-postgresql instproc list xo::db::DB-postgresql instproc list test_xotcl-core->xo::db::DB-postgresql instproc list test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test ) test_xotcl_core_tutorial_2->xo::db::DB-postgresql instproc list test_xowiki_test_cases xowiki_test_cases (test xowiki) test_xowiki_test_cases->xo::db::DB-postgresql instproc list db_getrow db_getrow (private) xo::db::DB-postgresql instproc list->db_getrow db_with_handle db_with_handle (public) xo::db::DB-postgresql instproc list->db_with_handle

Testcases:
xotcl_core_tutorial_2, xotcl-core, xowiki_test_cases
Source code:
if {$sql eq ""} {set sql [:get_sql $qn]}
if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
db_with_handle db {
  if {[info exists prepare]} {set sql [:prepare -handle $db -argtypes $prepare $sql]}
  set result {}
  set answers [uplevel [list ns_pg_bind select $db {*}$bindOpt $sql]]
  while { [::db_getrow $db $answers] } {
    lappend result [ns_set value $answers 0]
  }
  ns_set free $answers
}
return $result
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: