xo::db::DB-postgresql instproc list
<instance of xo::db::DB-postgresql> list
- 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 -dbn [:map_default_dbn $dbn] 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 $resultXQL Not present: Generic, PostgreSQL, Oracle